@bolt/generator-bolt

4.0.3 • Public • Published

Bolt Component Generator (powered by Yeoman)

Generating A New Component (only available inside the Bolt monorepo for now)

To generate a new Bolt component, run the following inside the root of the Bolt monorepo and walk through the CLI prompts.

yarn create:create-component

You can also run yarn cc for short!

Auto-fill out CLI options:

Currently two CLI options can be pre-filled out -- name and description which only requires you to hit ENTER to confirm the default value is what you want.

yarn cc --name "carousel" --description "an awesome carousel component"

Note: There's still some work left to be done to finish deeply wiring up the Bolt build tools with task-specific generators like this one. Even more awesome updates involving this are still in progress!

Package Sidebar

Install

npm i @bolt/generator-bolt

Weekly Downloads

2,198

Version

4.0.3

License

MIT

Unpacked Size

58.6 kB

Total Files

20

Last publish

Collaborators

  • mikemai2awesome
  • evanlovely
  • remydenton
  • dmorse
  • colbycook