Replaced App.vue with Layout.vue to serve as the main layout. Added Home and 404NotFound route components and configured router to handle home and fallback routes. Updated main.ts to use the new layout component.
16 lines
257 B
TypeScript
16 lines
257 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './Layout.vue'
|
|
import router from './router'
|
|
import vuetify from './plugins/vuetify'
|
|
|
|
// Global CSS
|
|
import "./css/global.css"
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(router)
|
|
|
|
app.use(vuetify);
|
|
|
|
app.mount('#app')
|