mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-06 22:03:07 +08:00
fix: Lock the vue&vue-template-compiler version
This commit is contained in:
parent
b6b0652635
commit
74e178330e
@ -41,7 +41,9 @@ module.exports = (api, options, rootOptions) => {
|
||||
return {
|
||||
dependencies: {
|
||||
'regenerator-runtime': '^0.12.1',// 锁定版本,避免高版本在小程序中出错
|
||||
'@dcloudio/uni-helper-json': '*'
|
||||
'@dcloudio/uni-helper-json': '*',
|
||||
'vue': '>= 2.6.14 < 2.7',
|
||||
'vue-template-compiler': '>= 2.6.14 < 2.7',
|
||||
},
|
||||
devDependencies: {
|
||||
"@babel/runtime": "~7.17.9",// 临时指定版本,7.13.x 会报错
|
||||
|
Loading…
x
Reference in New Issue
Block a user