@cosmicjs/blocks
A CLI for adding Blocks to your project.
What are Blocks?
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.
Usage
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.
add
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]
Example
bunx @cosmicjs/blocks add blog
Documentation
Visit https://blocks.cosmicjs.com to view the full list of available Blocks.
License
Licensed under the MIT license.