Migrate to VitePress
This commit is contained in:
15
docs/.vitepress/theme/Layout.vue
Normal file
15
docs/.vitepress/theme/Layout.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup>
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
const { Layout } = DefaultTheme;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout></Layout>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
main > .container {
|
||||
/* love that */
|
||||
max-width: 54rem !important;
|
||||
}
|
||||
</style>
|
7
docs/.vitepress/theme/index.ts
Normal file
7
docs/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import Layout from "./Layout.vue";
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
Layout,
|
||||
};
|
Reference in New Issue
Block a user