douglaslira / vue-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue Boilerplate

A boilerplate for Vue.js for Advance or Large Scale Project.


Dependencies

  • Vue
  • Vue-Router
  • Vuex
  • Axios
  • Webpack

Project Structure

  • components: contain shared components (.vue)
  • resource**: contain services for api request
  • router: router file config here
  • store**: state mangement with vuex seperating as modules
  • utils: javascript utility file, for example vue filter
  • views: container root components for each page (.vue)

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9000
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

License:MIT License


Languages

Language:CSS 38.5%Language:JavaScript 33.8%Language:Vue 26.7%Language:HTML 1.1%