添加H5配置项
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<!--preload-links-->
|
<!--preload-links-->
|
||||||
<!--app-context-->
|
<!--app-context-->
|
||||||
</head>
|
</head>
|
||||||
|
<!-- <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool'></script> -->
|
||||||
<body>
|
<body>
|
||||||
<div id="app"><!--app-html--></div>
|
<div id="app"><!--app-html--></div>
|
||||||
<script type="module" src="/main.js"></script>
|
<script type="module" src="/main.js"></script>
|
||||||
|
|||||||
@@ -67,8 +67,12 @@
|
|||||||
"h5" : {
|
"h5" : {
|
||||||
"optimization" : {
|
"optimization" : {
|
||||||
"treeShaking" : {
|
"treeShaking" : {
|
||||||
"enable" : false
|
"enable" : true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"router" : {
|
||||||
|
"mode" : "history",
|
||||||
|
"base" : "/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app-harmony" : {
|
"app-harmony" : {
|
||||||
|
|||||||
Reference in New Issue
Block a user