Skip to content

Vuejs simple template for not single page applications using gulp

License

Notifications You must be signed in to change notification settings

martin-badin/vue-gulp-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-gulp-template

Instalation

vue init martin-badin/vue-gulp-template project-name

Introduction

Vue Gulp Template

  • 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

Setup

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/**/*