├── static
└── .gitkeep
├── .eslintignore
├── src
├── assets
│ ├── css
│ │ ├── index.scss
│ │ ├── them.scss
│ │ └── custom.scss
│ └── img
│ │ └── element-ui.svg
├── store
│ ├── index.js
│ ├── mutation-types.js
│ └── modules
│ │ └── common.js
├── page
│ ├── 404.vue
│ ├── menu1
│ │ ├── sub1.vue
│ │ └── sub2.vue
│ ├── login.vue
│ ├── menu2
│ │ └── sub1.vue
│ └── home.vue
├── api
│ └── common.js
├── App.vue
├── components
│ └── common
│ │ └── pagination.vue
├── main.js
├── router
│ └── index.js
├── utils
│ └── utils.js
└── config
│ └── index.js
├── favicon.ico
├── config
├── prod.env.js
├── dev.env.js
└── index.js
├── .editorconfig
├── .gitignore
├── .babelrc
├── .postcssrc.js
├── index.html
├── README.md
├── package.json
└── .eslintrc.js
/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | static
2 | config
3 |
--------------------------------------------------------------------------------
/src/assets/css/index.scss:
--------------------------------------------------------------------------------
1 | @import "./custom.scss";
2 | @import "./them.scss";
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MrKaKaluote/element-admin/HEAD/favicon.ico
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | module.exports = {
3 | NODE_ENV: '"production"'
4 | }
5 |
--------------------------------------------------------------------------------
/src/assets/css/them.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * 定义基本的主题颜色
3 | *
4 | */
5 | $baseColor: #409EFF;
6 | $borderColor: #717171;
7 | $globalColor: #545c64;
8 | $globalBgColor: #293038;
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const prodEnv = require('./prod.env')
4 |
5 | module.exports = merge(prodEnv, {
6 | NODE_ENV: '"development"'
7 | })
8 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | /dist/
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 |
8 | # Editor directories and files
9 | .idea
10 | .vscode
11 | *.suo
12 | *.ntvs*
13 | *.njsproj
14 | *.sln
15 |
--------------------------------------------------------------------------------
/src/store/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue';
2 | import Vuex from 'vuex';
3 | import common from './modules/common';
4 |
5 | Vue.use(Vuex);
6 |
7 | const store = new Vuex.Store({
8 | modules: {
9 | common
10 | }
11 | });
12 |
13 | export default store
--------------------------------------------------------------------------------
/src/page/404.vue:
--------------------------------------------------------------------------------
1 |
2 | 404 page not found