We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017f479 commit 450e169Copy full SHA for 450e169
rspress.config.ts
@@ -13,9 +13,6 @@ export default defineConfig({
13
route: {
14
cleanUrls: true,
15
},
16
-// ssg: {
17
-// strict: true,
18
-// },
19
mediumZoom: true,
20
builderPlugins: [pluginYaml()],
21
globalStyles: path.join(__dirname, 'theme/index.css'),
theme/index.tsx
@@ -1,10 +1,10 @@
1
import { Layout as BasicLayout } from 'rspress/theme';
2
import { Content } from 'rspress/runtime';
3
import { HomeLayout } from './pages/index';
4
-const Layout = () => <BasicLayout ><Content /></BasicLayout>;
+const Layout = () => <BasicLayout><Content /></BasicLayout>;
5
6
7
-export default {
+export {
8
Layout,
9
HomeLayout,
10
};
0 commit comments