vue init martin-badin/vue-gulp-template project-name
- the template using for watching files the Browsersync
- the template is set for vuejs but it can be used for some other js frameworks
- the template is set for sass
- add support for typescript
- include packages from node_modules in sass files
Update setting in gulp.config.yml
- add path for output and update name if required
- update the proxy and add or remove path for watching files
javascript:
sources:
- ./src/js/app.ts
output:
path: ./public/assets/js
name: main.min.js
style:
sources:
- ./src/styles/style.scss
output:
path: ./public/assets/css
name: style.min.css
browser_sync:
proxy: localhost:8000
browser: google chrome
baseDir: ./
files:
- ./public/**/*