TopView projects boilerplate generator.
$ npm install topview-init -g
$ mkdir porject-name && cd project-name
$ topview-init
If you notice All set! projects are awesome, have fun! :), that means our project's structure is already generated, cheers!
We almost there...
$ npm install && npm run dev
Hit localhost:8080 localhost:3000 and create our awesome project right now!
Every time you save the files in the src
folder will reload the browser, so you don't need to press F5 repeatedly.
$ npm run build
with this command, we will
- Bundle all modules into a
bundle.js
and all stylesheets into abundle.css
indist
folder with webpack. - Uglity
.js
, minify and.html
intobuild
folder with gulp.
This boilerplate is never used in large applications or projects, so it probably has lots of problems. but that's ok, I believe you guys will constantly improve it.
Fix by yourself
MIT