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