build: 配置文件一点小优化
This commit is contained in:
parent
7d402f6145
commit
a1f2bef5d1
@ -81,5 +81,6 @@ module.exports = {
|
|||||||
getCurrentPages: true,
|
getCurrentPages: true,
|
||||||
UniHelper: true,
|
UniHelper: true,
|
||||||
Page: true,
|
Page: true,
|
||||||
|
App: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -27,5 +27,3 @@ stats.html
|
|||||||
auto-import.d.ts
|
auto-import.d.ts
|
||||||
# unplugin-vue-components 生成的类型文件
|
# unplugin-vue-components 生成的类型文件
|
||||||
components.d.ts
|
components.d.ts
|
||||||
# vite-plugin-uni-pages 生成的类型文件
|
|
||||||
uni-pages.d.ts
|
|
||||||
|
6
shims-uni.d.ts
vendored
6
shims-uni.d.ts
vendored
@ -2,9 +2,7 @@
|
|||||||
import 'vue'
|
import 'vue'
|
||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
type Hooks = App.AppInstance & Page.PageInstance;
|
type Hooks = App.AppInstance & Page.PageInstance
|
||||||
|
|
||||||
interface ComponentCustomOptions extends Hooks {
|
interface ComponentCustomOptions extends Hooks {}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarTitleText": "vue3-uniapp"
|
"navigationBarTitleText": "vue3-uniapp"
|
||||||
},
|
},
|
||||||
"easycom": {
|
"easycom": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user