refactor: change directory name from getting-started to docs
This commit is contained in:
parent
dfe8b83eed
commit
7ac2a62f3b
@ -9,16 +9,16 @@ import Home from "./Home";
|
|||||||
import DocsLayout from "./DocsLayout";
|
import DocsLayout from "./DocsLayout";
|
||||||
import ErrorBoundary from "./ErrorHandler";
|
import ErrorBoundary from "./ErrorHandler";
|
||||||
|
|
||||||
import Introduction from "./docs/getting-started/introduction.mdx";
|
import DocsIntroduction from "./docs/docs/introduction.mdx";
|
||||||
import Installation from "./docs/getting-started/installation.mdx";
|
import DocsInstallation from "./docs/docs/installation.mdx";
|
||||||
|
|
||||||
const router = createBrowserRouter(
|
const router = createBrowserRouter(
|
||||||
createRoutesFromElements(
|
createRoutesFromElements(
|
||||||
<Route path="/" element={<MainLayout />} errorElement={<ErrorBoundary />}>
|
<Route path="/" element={<MainLayout />} errorElement={<ErrorBoundary />}>
|
||||||
<Route index element={<Home />} />
|
<Route index element={<Home />} />
|
||||||
<Route path="/docs" element={<DocsLayout />}>
|
<Route path="/docs" element={<DocsLayout />}>
|
||||||
<Route index element={<Introduction />} />
|
<Route index element={<DocsIntroduction />} />
|
||||||
<Route path="installation" element={<Installation />} />
|
<Route path="installation" element={<DocsInstallation />} />
|
||||||
</Route>
|
</Route>
|
||||||
</Route>
|
</Route>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user