mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-09-10 14:09:06 +00:00
文档和代码更新
This commit is contained in:
@@ -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项目打包即可。
|
@@ -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
26500
dbswitch-admin-ui/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
|
||||
Vue.use(Router)
|
||||
Vue.use(Router);
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// 路由配置
|
||||
|
Reference in New Issue
Block a user