Yeoman generator for es6 based angular skeleton
You can view the online demo at: http://leftstick.github.io/generator-es6-angular
- Install yeoman:
npm install -g yo
- Install this:
npm install -g generator-es6-angular
sudoif you are running on
Answer questions as following demonstrated
And then, the es6 based project generated.
Debug your app
The full featured
dev/dist tools are provided, it's easy to start debugging your app.
Just move into the created directory with the given
npm start to start a debug web server for the project.
Open http://localhost:8080/ to see the playable skeleton, and have fun.
Release your app
Move the root of the created project.
npm run release to compile all the source code into webpack bundles. And all required resources are generated into
You can copy the
build folder to anywhere you like, it's the released app.
Like have a try with the released app?
npm install -g sero-cli
sero server -p 8080 -h, a static web server launched at port 8080.
Open http://localhost:8080 to watch the released version.
Looking for detail? Check it here