feat: add installation page in route
This commit is contained in:
parent
8562f8c886
commit
dfe8b83eed
@ -10,6 +10,7 @@ import DocsLayout from "./DocsLayout";
|
||||
import ErrorBoundary from "./ErrorHandler";
|
||||
|
||||
import Introduction from "./docs/getting-started/introduction.mdx";
|
||||
import Installation from "./docs/getting-started/installation.mdx";
|
||||
|
||||
const router = createBrowserRouter(
|
||||
createRoutesFromElements(
|
||||
@ -17,6 +18,7 @@ const router = createBrowserRouter(
|
||||
<Route index element={<Home />} />
|
||||
<Route path="/docs" element={<DocsLayout />}>
|
||||
<Route index element={<Introduction />} />
|
||||
<Route path="installation" element={<Installation />} />
|
||||
</Route>
|
||||
</Route>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user