11 lines
306 B
TypeScript
11 lines
306 B
TypeScript
import { createApp } from 'vue'
|
|
import ErrorPage from '@/ErrorPage.vue'
|
|
import { i18n } from '@/i18n'
|
|
import '@/style.css'
|
|
|
|
const selector = "#app"
|
|
const mountData = document.querySelector<HTMLElement>(selector)
|
|
const app = createApp(ErrorPage, { ...mountData?.dataset })
|
|
app.use(i18n)
|
|
app.mount(selector)
|