feat: add custom 404/500 error pages
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { createApp } from 'vue'
|
||||
import ErrorPage from '@/ErrorPage.vue'
|
||||
import '@/style.css'
|
||||
|
||||
const selector = "#app"
|
||||
const mountData = document.querySelector<HTMLElement>(selector)
|
||||
const app = createApp(ErrorPage, { ...mountData?.dataset })
|
||||
app.mount(selector)
|
||||
Reference in New Issue
Block a user