小程序中不支持指令
This commit is contained in:
parent
4be484d27a
commit
c5495da6fd
@ -58,7 +58,7 @@
|
||||
"@dcloudio/uni-quickapp-webview": "3.0.0-4020420240722002",
|
||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||
"@qiun/wx-ucharts": "2.5.0-20230101",
|
||||
"@ttou/uview-typings": "^2.0.5",
|
||||
"@uview-plus/types": "^3.2.5",
|
||||
"clipboard": "^2.0.11",
|
||||
"dayjs": "^1.11.13",
|
||||
"mqtt": "4.1.0",
|
||||
@ -69,7 +69,7 @@
|
||||
"vue-i18n": "^10.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@dcloudio/types": "^3.4.12",
|
||||
"@dcloudio/types": "^3.4.14",
|
||||
"@dcloudio/uni-automator": "3.0.0-4020420240722002",
|
||||
"@dcloudio/uni-cli-shared": "3.0.0-4020420240722002",
|
||||
"@dcloudio/uni-stacktracey": "3.0.0-4020420240722002",
|
||||
|
||||
11946
pnpm-lock.yaml
11946
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,11 @@ export function createApp() {
|
||||
app.use(store)
|
||||
app.use(uviewPlus)
|
||||
app.use(plugins)
|
||||
|
||||
// #ifndef MP-WEIXIN
|
||||
// 微信小程序中不支持自定义指令
|
||||
directive(app)
|
||||
// #endif
|
||||
|
||||
// 全局方法挂载
|
||||
app.config.globalProperties.useDict = useDict
|
||||
|
||||
@ -14,8 +14,15 @@ export default defineConfig(() => {
|
||||
plugins: [
|
||||
uni()
|
||||
],
|
||||
exclude:[
|
||||
exclude: [
|
||||
/\/README\.md$/,
|
||||
]
|
||||
],
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Loading…
Reference in New Issue
Block a user