/vue-template

Webpack + vue-loader setup with hot reload, linting, testing & css extraction. PHP compatible.

Primary LanguageJavaScript

Vue-template

Usage

npm install -g vue-cli
vue init la-haute-societe/vue-template my-project
cd my-project
npm install

# Serve with hot reload at localhost:8080
npm run dev

# Build for production with minification
npm run build

# Build for production and view the bundle analyzer report
npm run analyzer

What's Included

  • SASS
  • Spritesmith

Structure

src
├── app
│   ├── App.vue
│   ├── components
│   │   └── DemoComponent.vue
│   ├── pages
│   │   └── IndexPage.vue
│   └── plugins
│       └── routes.js
├── main.js
├── sprites
├── static
└── styles