1.2.4 • Published 6 years ago
ac-cli-hzw v1.2.4
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 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