grasp / Run-Vue

VueJs.com.cn

Home Page:http://vuejs.com.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vuecn

A Vue.js Spa

Build Setup

# install dependencies
npm run init

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

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

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

##About this project

vue-cli, 

vue 2.1.0

vue-router,

vue-resource ( axios 考虑ing);

vuex

然后针对 css 兼容 做了  postcss 兼容处理

install dependencies

1、First of all need to add runvue to development depend on
 
    "runvue": "^1.0.x"
2、In the place where you need to use the introduction
 
    import RunVue from 'runvue'
    import 'runvue/style.css'
 
    Vue.use(RunVue)
3、 tpl or html 
    <uiButton type="success"> test </uiButton>

About

VueJs.com.cn

http://vuejs.com.cn/


Languages

Language:Vue 50.4%Language:JavaScript 36.3%Language:CSS 12.8%Language:HTML 0.4%Language:Smarty 0.0%