+
+ Import Routes
+
+
+
+
+ {{ scope.row[key] }}
+
+
+
+
+
+
+
+
diff --git a/vue.config.js b/vue.config.js
index 7b8f3a5d..dc0e360e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -46,8 +46,9 @@ module.exports = {
['^' + process.env.VUE_APP_BASE_API]: ''
}
}
- },
- after: require('./mock/mock-server.js')
+ }
+ // 如果启用mock-server需要为node配置一下webpack中@的alias
+ // after: require('./mock/mock-server.js')
},
configureWebpack: {
// provide the app's title in webpack's name field, so that
@@ -104,7 +105,7 @@ module.exports = {
.plugin('ScriptExtHtmlWebpackPlugin')
.after('html')
.use('script-ext-html-webpack-plugin', [{
- // `runtime` must same as runtimeChunk name. default is `runtime`
+ // `runtime` must same as runtimeChunk name. default is `runtime`
inline: /runtime\..*\.js$/
}])
.end()