Skip to content

Commit 74ce2f4

Browse files
committed
Revert "Try upgrade rspress to fix strict ssg issue"
bd81f2b
1 parent bd81f2b commit 74ce2f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"eslint": "^9.19.0",
2323
"globals": "^15.14.0",
2424
"prettier": "^3.4.2",
25-
"rspress": "^v2.0.0-alpha.0",
25+
"rspress": "^1.42.1",
2626
"typescript-eslint": "^8.22.0"
2727
},
2828
"description": "## Setup",

theme/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { Layout as BasicLayout } from 'rspress/theme';
1+
import Theme from 'rspress/theme';
22
import { Content } from 'rspress/runtime';
33
import { HomeLayout } from './pages/index';
4-
const Layout = () => <BasicLayout><Content /></BasicLayout>;
4+
const Layout = () => <Theme.Layout ><Content /></Theme.Layout>;
55

66

77
export default {
8+
...Theme,
89
Layout,
910
HomeLayout,
1011
};

0 commit comments

Comments
 (0)