Skip to content

Commit

Permalink
passing vueInstance in window
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaSafe committed Nov 17, 2023
1 parent 70334b5 commit 0d7d62f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _dev/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
const pinia = createPinia()
// global css
import './index.css'
const app = createApp(App).use(pinia)
app.mount('#app')


createApp(App).use(pinia).mount('#app')
window.vueInstance = app

0 comments on commit 0d7d62f

Please sign in to comment.