Skip to content

Commit

Permalink
feat: change default layoutmode (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
baka-gourd authored Jul 23, 2024
1 parent 6bae7cd commit 79b0dbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { NolebaseGitChangelogPlugin } from "@nolebase/vitepress-plugin-git-chang
import "@nolebase/vitepress-plugin-git-changelog/client/style.css";

import {
LayoutMode,
NolebaseEnhancedReadabilitiesMenu,
NolebaseEnhancedReadabilitiesScreenMenu,
} from "@nolebase/vitepress-plugin-enhanced-readabilities/client";
Expand Down Expand Up @@ -68,6 +69,9 @@ export default {
spotlight: {
defaultToggle: true,
},
layoutSwitch: {
defaultMode: LayoutMode.FullWidth,
},
locales: {
"zh-CN": {
title: {
Expand Down

0 comments on commit 79b0dbc

Please sign in to comment.