chore(deps): Update to rspress 2.0.0
This commit is contained in:
parent
da8b60b4ce
commit
c9a4c546e2
3 changed files with 437 additions and 887 deletions
1312
package-lock.json
generated
1312
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -22,10 +22,10 @@
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rspress/core": "^2.0.0-rc.1",
|
"@rspress/core": "^2.0.0",
|
||||||
"@rspress/plugin-client-redirects": "^2.0.0-alpha.12",
|
"@rspress/plugin-client-redirects": "^2.0.0",
|
||||||
"@rspress/plugin-preview": "^2.0.0-beta.35",
|
"@rspress/plugin-preview": "^2.0.0",
|
||||||
"@rspress/plugin-sitemap": "^2.0.0-beta.23",
|
"@rspress/plugin-sitemap": "^2.0.0",
|
||||||
"typescript": "^5.9.3"
|
"typescript": "^5.9.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { HomeLayout as BasicHomeLayout, DocContent } from "@rspress/core/theme";
|
import { HomeLayout as BasicHomeLayout, DocContent } from "@rspress/core/theme-original";
|
||||||
|
|
||||||
import { useFrontmatter } from '@rspress/core/runtime';
|
import { useFrontmatter } from '@rspress/core/runtime';
|
||||||
interface HomeLayoutProps {
|
interface HomeLayoutProps {
|
||||||
|
|
@ -25,5 +25,5 @@ function HomeLayout(props: HomeLayoutProps) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
export { HomeLayout };
|
export { HomeLayout };
|
||||||
export * from "@rspress/core/theme";
|
export * from "@rspress/core/theme-original";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue