build: 配置文件一点小优化

This commit is contained in:
Burt 2024-01-03 10:55:45 +08:00
parent 7d402f6145
commit a1f2bef5d1
4 changed files with 4 additions and 7 deletions

View File

@ -81,5 +81,6 @@ module.exports = {
getCurrentPages: true,
UniHelper: true,
Page: true,
App: true,
},
}

2
.gitignore vendored
View File

@ -27,5 +27,3 @@ stats.html
auto-import.d.ts
# unplugin-vue-components 生成的类型文件
components.d.ts
# vite-plugin-uni-pages 生成的类型文件
uni-pages.d.ts

6
shims-uni.d.ts vendored
View File

@ -2,9 +2,7 @@
import 'vue'
declare module '@vue/runtime-core' {
type Hooks = App.AppInstance & Page.PageInstance;
interface ComponentCustomOptions extends Hooks {
type Hooks = App.AppInstance & Page.PageInstance
}
interface ComponentCustomOptions extends Hooks {}
}

View File

@ -8,7 +8,7 @@
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "vue3-uniapp"
},
"easycom": {