Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

netsells/adonis-make-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •