Open History to see the last commit
1import { createApp } from 'vue'
2import { VueQueryPlugin } from '@tanstack/vue-query'
3import './index.css'
4β
5import App from './App.vue'
6β
7const appRoot = document.getElementById('app')
8if (!appRoot) throw new Error('Missing #app element')
9β
10const shadowRoot = appRoot.attachShadow({ mode: 'open' })
11const container = shadowRoot.appendChild(document.createElement('div'))
12β
13createApp(App, { shadowRoot }).use(VueQueryPlugin).mount(container)