Open ssjshengjie opened 1 year ago
昨天晚上还可以 今天忽然就这样了 重新安装依赖 也是不可以 [Vue warn]: Failed to resolve component: Download If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at APP.vue
components.d.ts declare module '@vue/runtime-core' { export interface GlobalComponents { DownLoad: typeof import('./src/components/DownLoad/index.vue')['default'] Login: typeof import('./src/components/Login/index.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] VanButton: typeof import('vant/es')['Button'] VanCellGroup: typeof import('vant/es')['CellGroup'] VanCheckbox: typeof import('vant/es')['Checkbox'] VanCountDown: typeof import('vant/es')['CountDown'] VanDialog: typeof import('vant/es')['Dialog'] VanField: typeof import('vant/es')['Field'] VanForm: typeof import('vant/es')['Form'] VanImage: typeof import('vant/es')['Image'] VanTab: typeof import('vant/es')['Tab'] VanTabs: typeof import('vant/es')['Tabs'] } }
no
System: OS: Windows 10 10.0.22621 CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H Memory: 5.41 GB / 15.73 GB Binaries: Node: 18.14.2 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD pnpm: 8.6.5 - C:\Program Files\nodejs\pnpm.CMD Browsers: Edge: Spartan (44.22621.1992.0), Chromium (115.0.1901.188) Internet Explorer: 11.0.22621.1
pnpm
需要一个可以复现的 git 仓库
Describe the bug
昨天晚上还可以 今天忽然就这样了 重新安装依赖 也是不可以 [Vue warn]: Failed to resolve component: Download If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at
APP.vue
components.d.ts declare module '@vue/runtime-core' { export interface GlobalComponents { DownLoad: typeof import('./src/components/DownLoad/index.vue')['default'] Login: typeof import('./src/components/Login/index.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] VanButton: typeof import('vant/es')['Button'] VanCellGroup: typeof import('vant/es')['CellGroup'] VanCheckbox: typeof import('vant/es')['Checkbox'] VanCountDown: typeof import('vant/es')['CountDown'] VanDialog: typeof import('vant/es')['Dialog'] VanField: typeof import('vant/es')['Field'] VanForm: typeof import('vant/es')['Form'] VanImage: typeof import('vant/es')['Image'] VanTab: typeof import('vant/es')['Tab'] VanTabs: typeof import('vant/es')['Tabs'] } }
Reproduction
no
System Info
Used Package Manager
pnpm
Validations