mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-26 15:00:12 +08:00
调整代码提示
This commit is contained in:
parent
0c5b9f8225
commit
498cee1cc4
@ -41,7 +41,8 @@ module.exports = (api, options, rootOptions) => {
|
||||
},
|
||||
devDependencies: {
|
||||
'@babel/plugin-syntax-typescript': '^7.2.0',
|
||||
'@dcloudio/types': '*',
|
||||
'@types/uni-app': '*',
|
||||
'@types/html5plus': '*',
|
||||
'@vue/cli-plugin-typescript': '^3.3.0',
|
||||
'typescript': api.hasPlugin('eslint') ? '~3.1.1' : '^3.0.0'
|
||||
}
|
||||
@ -105,4 +106,4 @@ module.exports = (api, options, rootOptions) => {
|
||||
|
||||
await generate(path.resolve(__dirname, './template/common'), files)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -12,8 +12,7 @@
|
||||
"sourceMap": true,
|
||||
"baseUrl": ".",
|
||||
"types": [
|
||||
"webpack-env",
|
||||
"@dcloudio/types/uni-app"
|
||||
"webpack-env"
|
||||
],
|
||||
"paths": {
|
||||
"@/*": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user