pages.config.ts 678 B

1234567891011121314151617181920212223
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. import { tabBar } from './src/tabbar/config'
  3. export default defineUniPages({
  4. globalStyle: {
  5. navigationStyle: 'default',
  6. navigationBarTitleText: 'unibest',
  7. navigationBarBackgroundColor: '#f8f8f8',
  8. navigationBarTextStyle: 'black',
  9. backgroundColor: '#FFFFFF',
  10. },
  11. easycom: {
  12. autoscan: true,
  13. custom: {
  14. '^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
  15. '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
  16. 'z-paging/components/z-paging$1/z-paging$1.vue',
  17. },
  18. },
  19. // tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中
  20. tabBar: tabBar as any,
  21. })