A CLI for adding Blocks to your project.
Blocks are React components for building Cosmic powered websites and apps. Use Blocks to build website features such as landing pages, blogs, image galleries, events, and more.
Go to the Blocks website to get started adding Blocks to your project. You will need a Cosmic account to install the dynamic content. Create a Cosmic account.
Use the add
command to add Blocks to your project.
The add
command adds Blocks to your project in a new or existing cosmic
folder and installs all required dependencies.
bunx @cosmicjs/blocks add [component]
bunx @cosmicjs/blocks add blog
Visit https://blocks.cosmicjs.com to view the full list of available Blocks.
Licensed under the MIT license.