- Visit my website for me cool stuff!
Copy gulpfile.js into project root. **Replace [DIRECTIVE] with the name of each angular directive **Replace [TEMPLATE] to the desired output file name
Install npm dependencies (Check out package.json for an example)
npm install @babel/core gulp babelify browserify browser-sync vinyl-buffer gulp-concat gulp-angular-embed-templates gulp-jshint gulp-rename browserify-resolutions run-sequence gulp-sass vinyl-source-stream gulp-sourcemaps gulp-uglify --save-dev
- Build the project.
Checkout https://github.com/jrquick17/angualrjs-gulp-npm-seed for a working project using this repo.
build & watch
Build the project anytime there is a change.
build & watch & launch server
Build the project anytime there is a change and run on a server.
build & watch & launch proxy server
Build the project anytime there is a change and run on a proxy server.