- Edit
- components/HelloWorld.vue
to test HMR
-
- Check out - create-vue, the official Vue + Vite starter -
-- Learn more about IDE Support for Vue in the - Vue Docs Scaling up Guide. -
-Click on the Vite and Vue logos to learn more
- - - diff --git a/apps/vue-app/src/main.ts b/apps/vue-app/src/main.ts index 2425c0f..90b8a8d 100644 --- a/apps/vue-app/src/main.ts +++ b/apps/vue-app/src/main.ts @@ -1,5 +1,21 @@ +import { createRouter, createWebHistory } from 'vue-router' import { createApp } from 'vue' import './style.css' import App from './App.vue' +import { routes } from './router' -createApp(App).mount('#app') +if (window.__POWERED_BY_WUJIE__) { + let instance: App