Upgrade to vuepress beta.8
parent
9698e3fdf7
commit
1ddff4a15b
|
@ -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";
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"@types/bootstrap": "^5.0.11",
|
||||
"@types/jquery": "^3.5.5",
|
||||
"@vuepress/plugin-back-to-top": "^2.0.0-beta.8",
|
||||
"postcss-loader": "^5.2.0",
|
||||
"prettier": "^2.2.1",
|
||||
"sass": "^1.32.8",
|
||||
"sass-loader": "^11.0.1",
|
||||
|
|
Loading…
Reference in New Issue