1.3.0 • Published 6 years ago
fc-cli v1.3.0
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 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