A generator for Kaiju framework
client
build
src
store
view
widget
util
style
typing
test
npm install -g kaiju-generator
The quickest way to get started with kaiju is to use the executable kaiju
to generate an application as shown below:
Create the app:
kaiju /myApp && cd /myApp/client/
Install dependencies:
npm install
Start your Kaiju app:
npm start
This generator can also be further configured with the following command line flags.
-h, --help output usage information
-V, --version output the version number
-c, --css <engine> add stylesheet <engine> support (less|stylus|sass) (default to less)
-f, --force force on non-empty directory
Generate your app in a custom path:
kaiju --css=scss ~/Desktop/myApp
If you need more details, feel free to read the doc.
Add option to generate empty templates in a custom path:
- with or without folder pack
- template with state and route
- template with state without route
- stateless template
- store