fix(接口测试): 任务中心查看失败的场景用例-Error页面没有数据
--bug=1027853 --user=白奇 【接口测试】任务中心查看失败的场景用例-Error页面没有数据 https://www.tapd.cn/55049933/s/1393807
This commit is contained in:
parent
4e011d2d07
commit
32299db163
|
@ -1,38 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link rel="stylesheet" href="http://localhost:3000/js/dev/element-ui/element-ui.css" />
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css" />
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
|
||||
enable it to continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||
Please
|
||||
enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,6 +1,5 @@
|
|||
import Vue from 'vue';
|
||||
import VueI18n from 'vue-i18n';
|
||||
|
||||
Vue.use(VueI18n);
|
||||
// 直接加载翻译的语言文件
|
||||
const LOADED_LANGUAGES = ['zh-CN', 'zh-TW', 'en-US'];
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = defineConfig({
|
|||
client: {
|
||||
webSocketTransport: 'sockjs',
|
||||
overlay: false,
|
||||
},
|
||||
},
|
||||
allowedHosts: 'all',
|
||||
webSocketServer: 'sockjs',
|
||||
proxy: {
|
||||
|
@ -69,17 +69,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: 'qiankun',
|
||||
vue: 'Vue',
|
||||
'element-ui': 'ELEMENT',
|
||||
'vue-router': 'VueRouter',
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
'mavon-editor': 'MavonEditor',
|
||||
'vue-shepherd': 'VueShepherd',
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
@ -184,7 +173,6 @@ module.exports = defineConfig({
|
|||
.options({
|
||||
symbolId: 'icon-[name]',
|
||||
});
|
||||
|
||||
if (process.env.NODE_ENV === 'analyze') {
|
||||
config.plugin('webpack-report').use(BundleAnalyzerPlugin, [
|
||||
{
|
||||
|
|
|
@ -1,34 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>js/dev/element-ui/element-ui.css" />
|
||||
<script src="<%= BASE_URL %>js/dev/qiankun.umd.js"></script>
|
||||
<script src="<%= BASE_URL %>js/dev/vue.js"></script>
|
||||
<script src="<%= BASE_URL %>js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="<%= BASE_URL %>js/dev/vue-router.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css" />
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||
Please enable it to
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
|
@ -38,4 +38,4 @@ new Vue({
|
|||
router,
|
||||
pinia,
|
||||
render: h => h(App),
|
||||
})
|
||||
})
|
|
@ -42,7 +42,6 @@ getApps()
|
|||
app.entry = app.entry.replace(/127\.0\.0\.1:\d+/g, window.location.host + "/" + app.name);
|
||||
});
|
||||
}
|
||||
|
||||
//注册子应用
|
||||
registerMicroApps(apps);
|
||||
//启动
|
||||
|
|
|
@ -36,16 +36,6 @@ module.exports = defineConfig({
|
|||
"@": resolve("src"),
|
||||
},
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -67,17 +67,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -52,17 +52,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -63,17 +63,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -52,17 +52,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -12,7 +12,7 @@ function resolve(dir) {
|
|||
return path.join(__dirname, dir);
|
||||
}
|
||||
|
||||
const proxyUrl = ' http://localhost:8005'
|
||||
const proxyUrl = 'http://localhost:8005'
|
||||
|
||||
module.exports = defineConfig({
|
||||
publicPath: "/",
|
||||
|
@ -78,17 +78,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
|
@ -1,44 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
||||
/>
|
||||
<script src="http://localhost:3000/js/dev/qiankun.umd.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/element-ui/element-ui.js"></script>
|
||||
<script src="http://localhost:3000/js/dev/vue-router.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="http://localhost:3000/js/prd/mavon-editor.js"></script>
|
||||
<% } else { %>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="<%= BASE_URL %>js/prd/element-ui/element-ui.min.css"
|
||||
/>
|
||||
<script src="<%= BASE_URL %>js/prd/qiankun.umd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/element-ui/element-ui.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-router.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/vue-shepherd.min.js"></script>
|
||||
<script src="<%= BASE_URL %>js/prd/mavon-editor.js"></script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong
|
||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||
properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong
|
||||
>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -50,17 +50,6 @@ module.exports = defineConfig({
|
|||
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||
chunkFilename: `js/${name}-[name].[contenthash:8].js`,
|
||||
},
|
||||
externals: {
|
||||
qiankun: "qiankun",
|
||||
vue: "Vue",
|
||||
"element-ui": "ELEMENT",
|
||||
"vue-router": "VueRouter",
|
||||
// 'echarts': 'echarts',
|
||||
// 'echarts/core': 'echarts', // TODO:外链使用的话需要改造导入及 vue-echarts 的源码
|
||||
// brace: 'brace', // TODO:暂时未发现能外链的方法,本体包未提供cdn 外链形式的包
|
||||
"mavon-editor": "MavonEditor",
|
||||
"vue-shepherd": "VueShepherd",
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
|
|
Loading…
Reference in New Issue