Edit
- components/HelloWorld.vue
to test HMR
+ components/HelloWorld.vue
+ to test HMR
Check out - create-vue, the official Vue + Vite starter + create-vue + , the official Vue + Vite starter
Learn more about IDE Support for Vue in the - Vue Docs Scaling up Guide. + + Vue Docs Scaling up Guide + + .
Click on the Vite and Vue logos to learn more
diff --git a/src/directive/index.ts b/src/directive/index.ts index 7007860..ec2ce6a 100644 --- a/src/directive/index.ts +++ b/src/directive/index.ts @@ -2,5 +2,5 @@ import type { App } from 'vue'; // 全局注册 directive export function setupDirective(app: App