Upgrade to vuepress beta.8

pull/11/head
JimhHan 2021-04-14 18:58:55 +08:00
parent 9698e3fdf7
commit 1ddff4a15b
No known key found for this signature in database
GPG Key ID: 48D5D7CF95157AC5
4 changed files with 3 additions and 3 deletions

View File

@ -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({

View File

@ -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" }]],
};
};

View File

@ -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";

View File

@ -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",