nnyier / vue-projects

a project use vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-projects

A Vue.js project

vendor

什么时候使用Vuex

如果您不打算开发大型单页应用,使用 Vuex 可能是繁琐冗余的 global event bus

├── build  # 配置文件
├── index.html 
├── src
│   ├── assets 页面相关图片
│   ├── main.js 加载组件 入口
│   ├── components  # 公共组件、第三方放在这里 
│   ├── App.vue 根组件

Build Setup

# git  clone 
git clone  https://github.com/OSMeteor/vue-boilerplate

cd  vue-boilerplate

# install dependencies
npm install

# mock api data 
npm run mock

# serve with hot reload at localhost:8080
npm run dev or npm start


# build for production with minification
npm run build

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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

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

vue-devtools)

About

a project use vue


Languages

Language:Vue 77.1%Language:JavaScript 21.9%Language:CSS 0.7%Language:HTML 0.3%