import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' // Mount only when the page renders the root element. const root = document.getElementById('wcv-settings-root') if (root !== null) { const app = createApp(App) app.use(createPinia()) app.mount(root) }