@netsells/adonis-make-component
v1.3.0
Published
This package contains an Adonis provider to provider a `make:component` component. This command allows you to quickly bootstrap Component, Unit Test and Storybook files.
Downloads
12
Keywords
Readme
@netsells/adonis-make-component
This package contains an Adonis provider to provider a make:component
component. This command allows you to quickly bootstrap Component, Unit Test and Storybook files.
Installation
$ yarn add @netsells/adonis-make-component
Add the provider to your start/app.js
:
const aceProviders = [
'@netsells/adonis-make-component/providers/CommandProvider',
];
Usage
Run the command using ace:
$ node ace make:component <path>
path
is the to the component from the root directory, for example, to bootstrap an ArticleCard
component you would run:
$ node ace make:component resources/components/cards/ArticleCard
The command will then guide you through the bootstrapping process.