文档和代码更新

This commit is contained in:
inrgihc
2021-08-31 23:09:44 +08:00
parent 85223a9af7
commit 057b655c7b
21 changed files with 26617 additions and 152 deletions

View File

@@ -19,3 +19,7 @@ npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
## 三、部署
执行`npm run build`命令后将dbswitch-admin-ui\dist目录生成的所有文件拷贝或替换到dbswitch-admin\src\main\resources目录下。然后直接使用mvn对整个dbswitch项目打包即可。

View File

@@ -39,6 +39,9 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel-loader',
options:{
plugins:['syntax-dynamic-import']
},
include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client')]
},
{

26500
dbswitch-admin-ui/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -23,6 +23,7 @@
"babel-core": "^6.22.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0",

View File

@@ -1,7 +1,7 @@
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
Vue.use(Router);
///////////////////////////////////////////////////////////////////////////
// 路由配置