mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-28 18:08:01 +03:00
Upgrade to vuepress beta.8
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
import { useThemeLocaleData } from "@vuepress/plugin-theme-data/lib/composables";
|
||||
import { useThemeLocaleData } from "@vuepress/plugin-theme-data/lib/client";
|
||||
import { ToggleOptions } from "../types";
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -9,7 +9,6 @@ export const docsPlugin: Theme = (options, app) => {
|
||||
Layout: path.resolve(__dirname, "layouts/Layout.vue"),
|
||||
},
|
||||
clientAppEnhanceFiles: path.resolve(__dirname, "clientAppEnhance.ts"),
|
||||
plugins: [["@vuepress/plugin-palette", { preset: "sass" }]],
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import ParentLayout from "@vuepress/theme-default/lib/layouts/Layout.vue";
|
||||
import ParentLayout from "@vuepress/theme-default/lib/client/layouts/Layout.vue";
|
||||
import ThemeToggle from "../components/ThemeToggle.vue";
|
||||
import { defineComponent } from "vue";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user