feat: Add Markdown Page route and component
All checks were successful
CI / cache-and-install (push) Successful in 1m18s

This commit is contained in:
严浩
2024-08-21 12:17:42 +08:00
parent 41f194b180
commit adfa5f525a
8 changed files with 102 additions and 4 deletions

View File

@ -3,12 +3,14 @@ import 'virtual:uno.css';
import { createApp } from 'vue';
import { createPinia } from 'pinia';
import { createHead, unheadVueComposablesImports } from '@unhead/vue';
import App from './App.vue';
import { router } from './router';
import { DataLoaderPlugin } from 'unplugin-vue-router/data-loaders';
createApp(App)
.use(createHead())
.use(createPinia())
// Register the plugin before the router
.use(DataLoaderPlugin, { router })