Commit Graph

44 Commits

Author SHA1 Message Date
zthxxx 40a7626acb feat: perfect migrate to @vue/cli-service, upgrade vue babel version (#1267)
* feat: perfect migrate to @vue/cli-service, upgrade vue babel version

1. update to @vue/cli-service@3.0.5, @babel/core@7.0.0
2. use vue-cli service replace config file in build/ and config/
3. upgrade vue and babel configuration
4. solve the svg-sprite config problem #980

refs: #932 #1087  #980 #1056

* fix: fix breadcrumb dependency

* fix: fix index template and static assets load with vue-cli 3

* fix: fix import driver.js in guide page

* refactor(mock): mak mock api compatible with both web-view and webpack server

1. 把 Mockjs 功能移到 server 端中间件,同时也兼容前端直接劫持 XHR
2. dev 环境下默认作为 express 中间件通过 webpack server 提供 mock api
3. prod 构建时,默认在前端用 Mockjs 劫持 XHR

benefits:
  - dev 开发调试时能直接看到 XHR 请求,方便调试网络,能和后端对接联调
  - 避开在开发时因为 Mockjs 引起的网络 bug
  - prod 构建时劫持 XHR,保证本项目的 Github Pages preview 能正常显示 (逻辑和 error-log 一样)
  - 前后台使用的 mock 是同一份代码,不会增加维护负担

ref: [#562](https://github.com/PanJiaChen/vue-element-admin/issues/562#issuecomment-378116233)

* update requires the lowest version of node

* add favicon

* fix(TreeTable): fix `Array.prototype.concat` on custom-tree-table page
2018-10-29 13:55:36 +08:00
花裤衩 0fbda3c8c7
feature: add global size option (#1024) 2018-08-29 15:24:47 +08:00
Pan 53f3e7d5e6 format code 2018-08-15 17:29:15 +08:00
花裤衩 bdc31cea1a
chore: use Runtime-only (#799)
Detail see [Runtime-Compiler-vs-Runtime-only](https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only)
2018-06-25 11:17:47 +08:00
花裤衩 45fef9b431
Feature/english (#381)
* perf[navbar]: set langSelect to component && refine errorLog component

* feat[login]:add 18n to login form

* fix[pagination]: fixed when selected page-sizes

* perf[i18n]:dashboard document svg permission

* perf[charts]: perf effect

* perf[i18n]:excel && zip

* perf[i18n]: table && errorLog && theme

* perf[i18n]: components

* perf[i18n]: direct use $t

* perf[i18n]: complex-table

* update README.md

* update README.md 📘

* perf[i18n]: refine code comments
2017-12-29 16:07:42 +08:00
Pan 471c297f13 perf[css]: refine element-ui default size 2017-12-22 16:25:07 +08:00
花裤衩 dc162093cc
refactor[core]: use webpack-dev-server now (#355)
* bump deps: update vue-splitpane version

* refactor[chore]: use webpack-dev-serve build

* perf:settings

* doc: uodate readme
2017-12-15 14:07:55 +08:00
Pan e05da2650b feature:add i18n 2017-11-03 18:37:49 +08:00
Pan fe31c88193 refactor:update element 2017-11-01 10:03:28 +08:00
Pan 98d5f9a247 lint:format code style 2017-10-31 16:04:30 +08:00
Pan d56cd59474 refine code 2017-08-30 18:22:32 +08:00
Pan 97570fa612 refactor icons 2017-08-29 18:05:35 +08:00
Pan f7aee3b5a3 refactor 2017-08-28 13:18:35 +08:00
Pan 551e911eb4 全局lint优化 2017-08-28 13:18:35 +08:00
Pan d06d476b50 refine import normalize.css && update 2017-08-21 20:55:56 +08:00
Pan 9768305166 refine main.js 2017-08-21 15:55:46 +08:00
Pan 535fe083e5 fix bug 2017-07-27 13:55:06 +08:00
ginhom 4467420d31 fixed: catch 'GetInfo' exception 2017-07-25 16:19:09 +08:00
Pan a0a011e985 fix cookie token bug 2017-07-20 13:27:05 +08:00
Pan de992c50a6 全局代码格式 优化 2017-07-06 17:56:23 +08:00
Pan 622a8c3a69 refine icon-svg 2017-07-06 17:56:23 +08:00
Pan 540168985d refine code 2017-07-04 16:14:04 +08:00
Pan ed803c68b2 fix next bug 2017-07-03 12:45:31 +08:00
Pan cfa82b0714 fix next bug 2017-07-03 12:45:31 +08:00
Pan e3bc9c7e78 delete redundant code 2017-07-03 12:45:31 +08:00
Pan 3466b9feb2 fix postcss bug 2017-06-30 11:31:21 +08:00
Pan 63ad0fc2f5 refine code 2017-06-26 11:21:53 +08:00
Pan 6ff36d82c7 fix next bug 2017-05-25 10:04:19 +08:00
Pan 6508b1cc3d refine 2017-05-17 17:59:13 +08:00
Pan faea4d8bf6 使用addRoutes重构权限 2017-05-17 16:27:12 +08:00
Pan 624af00ba3 refine code 2017-05-16 18:20:47 +08:00
Pan d820ca95e1 refine main.js role logic 2017-05-16 17:31:48 +08:00
Pan 0da4e5e5a7 add tips 2017-05-16 10:44:55 +08:00
Pan 0476f25eba 权限页面优化 2017-05-16 10:44:55 +08:00
Pan 222c9c07e0 add tips 2017-05-11 17:48:20 +08:00
Pan b8068a4896 fix permission bug 2017-05-11 16:52:38 +08:00
Pan da0338cd72 fix hash bug 2017-05-11 11:52:22 +08:00
Pan d0850e6d49 update vue-router 2017-05-11 11:19:12 +08:00
Pan f1c807ab12 Update main.js 2017-05-08 17:20:28 +08:00
Pan 9cd68d95ee refine upload 2017-04-24 15:13:17 +08:00
Pan 47b24ca8b9 refine login 2017-04-24 14:15:42 +08:00
Pan 33e384ee95 add && refine 2017-04-20 20:31:40 +08:00
Pan 89a4c3bda1 add 2017-04-19 18:43:57 +08:00
Pan d10370086e init 2017-04-18 15:09:13 +08:00