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>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link rel="stylesheet" href="http://localhost:3000/js/dev/element-ui/element-ui.css" />
|
</title>
|
||||||
<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>
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
|
Please
|
||||||
enable it to continue.</strong
|
enable it to continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -1,6 +1,5 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import VueI18n from 'vue-i18n';
|
import VueI18n from 'vue-i18n';
|
||||||
|
|
||||||
Vue.use(VueI18n);
|
Vue.use(VueI18n);
|
||||||
// 直接加载翻译的语言文件
|
// 直接加载翻译的语言文件
|
||||||
const LOADED_LANGUAGES = ['zh-CN', 'zh-TW', 'en-US'];
|
const LOADED_LANGUAGES = ['zh-CN', 'zh-TW', 'en-US'];
|
||||||
|
|
|
@ -69,17 +69,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
@ -184,7 +173,6 @@ module.exports = defineConfig({
|
||||||
.options({
|
.options({
|
||||||
symbolId: 'icon-[name]',
|
symbolId: 'icon-[name]',
|
||||||
});
|
});
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'analyze') {
|
if (process.env.NODE_ENV === 'analyze') {
|
||||||
config.plugin('webpack-report').use(BundleAnalyzerPlugin, [
|
config.plugin('webpack-report').use(BundleAnalyzerPlugin, [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,34 +1,22 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||||
|
Please enable it to
|
||||||
continue.</strong>
|
continue.</strong>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -42,7 +42,6 @@ getApps()
|
||||||
app.entry = app.entry.replace(/127\.0\.0\.1:\d+/g, window.location.host + "/" + app.name);
|
app.entry = app.entry.replace(/127\.0\.0\.1:\d+/g, window.location.host + "/" + app.name);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//注册子应用
|
//注册子应用
|
||||||
registerMicroApps(apps);
|
registerMicroApps(apps);
|
||||||
//启动
|
//启动
|
||||||
|
|
|
@ -36,16 +36,6 @@ module.exports = defineConfig({
|
||||||
"@": resolve("src"),
|
"@": 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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -67,17 +67,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -52,17 +52,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -63,17 +63,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -52,17 +52,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -12,7 +12,7 @@ function resolve(dir) {
|
||||||
return path.join(__dirname, dir);
|
return path.join(__dirname, dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
const proxyUrl = ' http://localhost:8005'
|
const proxyUrl = 'http://localhost:8005'
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
publicPath: "/",
|
publicPath: "/",
|
||||||
|
@ -78,17 +78,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
|
@ -1,44 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title>
|
||||||
<% if (process.env.NODE_ENV==='development' ) { %>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<link
|
</title>
|
||||||
rel="stylesheet"
|
</head>
|
||||||
href="http://localhost:3000/js/dev/element-ui/element-ui.css"
|
|
||||||
/>
|
<body>
|
||||||
<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>
|
<noscript>
|
||||||
<strong
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong
|
continue.</strong>
|
||||||
>
|
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -50,17 +50,6 @@ module.exports = defineConfig({
|
||||||
filename: `js/${name}-[name].[contenthash:8].js`,
|
filename: `js/${name}-[name].[contenthash:8].js`,
|
||||||
chunkFilename: `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: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
|
|
Loading…
Reference in New Issue