1.0.0 • Published 3 years ago
vblok-cli v1.0.0
vblok-cli
A simple cli to dynamically created Vue, Scss and Storybook files for new components or modules in proejcts based on VueJS. It is still in early development and will have more features coming in the near future.
Installation
Install the cli by running npm install vblok-cli or yarn add vblok-cli
Usage
By default, components and modules created with vblok-cli are stored in the components folder of the project root directory.
Basic Usage
vblok <targetFolder> <name>
Available Options
--storybook or -s to add a storybook file to the created component
Examples
vblok app Footercreates a Footer.vue and Footer.scss file in the directorycomponents/app/Footervblok base Button -screates a Button.vue, Button.scss and Button.stories.js file in the directorycomponents/base/Buttonvblok modules CmLanding -screates CmLanding.vue, CmLanding.scss and CmLanding.stories.js in the directorycomponents/modules/CmLandingvblok modules/teaser TmHighlight -screates TmHighlight.vue, TmHighlight.scss and TmHighlight.stories.js in the directorycomponents/modules/teaser
License
1.0.0
3 years ago