fc-cli
v1.3.0
Published
![Logo of the project](./logo.png)
Downloads
2
Readme
fc-cli
cli, nodejs
A tool used for React best practice
Installing / Getting started
#Install
npm install fc-cli -g
# create a single page app
fcl i single my-project
# create a composite page app
fcl i composite my-project
# create component
fcl g component my-component
# create route
fcl g route my-route
Configuration
fcl 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
$ fcl g route product
$ fcl g component mycomponent