@cosmicjs/blocks

1.2.13 • Public • Published

@cosmicjs/blocks

A CLI for adding Blocks to your project.

What are Blocks?

Blocks are data infused 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.

Package Sidebar

Install

npm i @cosmicjs/blocks

Weekly Downloads

2

Version

1.2.13

License

MIT

Unpacked Size

174 kB

Total Files

49

Last publish

Collaborators

  • rajatkaush1k
  • jazibsawar
  • tonyspiro