sc
This commit is contained in:
@@ -41,6 +41,19 @@
|
||||
}
|
||||
},
|
||||
"quickapp": {},
|
||||
"h5": {
|
||||
"title": "小程序管理后台",
|
||||
"domain": "",
|
||||
"router": {
|
||||
"mode": "hash",
|
||||
"base": "/applet-manage-h5/"
|
||||
},
|
||||
"optimization": {
|
||||
"treeShaking": {
|
||||
"enable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"mp-weixin": {
|
||||
"appid": "wx26785eb35bd950b0",
|
||||
"setting": {
|
||||
|
||||
@@ -2,12 +2,13 @@ import { defineConfig } from 'vite'
|
||||
import uni from '@dcloudio/vite-plugin-uni'
|
||||
|
||||
export default defineConfig({
|
||||
base: '/applet-manage-h5/',
|
||||
plugins: [
|
||||
uni()
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
// 确保uni-app使用内置的Vue版本
|
||||
'@': '/src',
|
||||
'vue': '@dcloudio/uni-h5-vue'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user