diff --git a/pages.config.ts b/pages.config.ts index b2e40a3..13f82e9 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -2,6 +2,12 @@ import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' export default defineUniPages({ pages: [], + easycom: { + autoscan: true, + custom: { + '^wd-(.*)': '@wot-ui/ui/components/wd-$1/wd-$1.vue', + }, + }, globalStyle: { backgroundColor: '@bgColor', backgroundColorBottom: '@bgColorBottom',