页面:Vue+elmentUI 服务:Koa

thm b55527336b 分页bug 8 years ago
.vscode 5187bf03b4 init commit 8 years ago
build 5187bf03b4 init commit 8 years ago
config 5187bf03b4 init commit 8 years ago
src b55527336b 分页bug 8 years ago
static 5187bf03b4 init commit 8 years ago
webservice 5187bf03b4 init commit 8 years ago
.babelrc 5187bf03b4 init commit 8 years ago
.gitignore 5187bf03b4 init commit 8 years ago
README.md 5187bf03b4 init commit 8 years ago
app.js 5187bf03b4 init commit 8 years ago
index.html 5187bf03b4 init commit 8 years ago
package.json 5187bf03b4 init commit 8 years ago

README.md

To start

This is a project template for vue-cli

# install dependencies
npm install

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

# build for production with minification
npm run build

Folder structure

  • build - webpack config files
  • config - webpack config files
  • dist - build
  • src -your app
    • api
    • common
    • components - your vue components
    • styles
    • views - your pages
    • vuex
    • App.vue
    • main.js - main file
    • routes.js
  • static - static assets

Theme

You can change theme by

  1. Generate theme packages by https://elementui.github.io/theme-preview/#/
  2. Put theme packages in src/assets/theme/
  3. Edit src/main.js bash import 'element-ui/lib/theme-default/index.css' to import './assets/theme/your-theme/index.css'
  4. Edit src/styles/vars.scss

theme-blue theme-green

Browser support

Modern browsers and IE 10+.

License

MIT