Skip to content

carlccy/vue2-template

Repository files navigation

vue2-template

Vue2 + Router + Vuex + axios + Flex + Sass + Webpack

Build Setup

cnpm install vue-cli -g

vue init webpack vue2-test1
cd vue2-test1
cnpm install

cnpm install vuex axios -S

cnpm install node-sass sass-loader -D

edit {extensions: ['.js', '.vue', '.json']}
  to {extensions: ['.js', '.vue', '.json', '.css', '.scss']} 
  in webpack.base.conf.js

cnpm run dev
cnpm run build

environment

node: v8.1.2 [email protected] vue-cli: 2.8.2

About

Vue2 移动端SPA模板

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published