ac-cli-hzw
v1.2.4
Published
> cli, nodejs
Downloads
12
Readme
ac-cli
cli, nodejs
A tool used for React best practice
Installing / Getting started
#make sure you have installed libgcrypt before install ac-cli (OSX)
brew install libgcrypt
# Install
npm install ac-cli -g
# create a single page app
acl i single my-project
# create a composite page app
acl i composite my-project
# create component
acl g component my-component
# create route
acl g route my-route
# create deep route
acl g deep-route my-route
Configuration
acl generate(short-cut alias: 'g') [type] [name] [path]
Generate route and component.
[path]: default components path - src/components
default route path - src/routes
Usage Examples
$ acl g route product
$ acl g component mycomponent
Related
fork from fc-cli