@netsells/adonis-make-component

1.3.0 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @netsells/adonis-make-component

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

16.6 kB

Total Files

12

Last publish

Collaborators

  • rebeccaanderton
  • samturrell
  • spamoom
  • jakub.gawron