refactor: change directory name from getting-started to docs

This commit is contained in:
p-sw 2024-06-01 02:03:23 +09:00
parent dfe8b83eed
commit 7ac2a62f3b
3 changed files with 4 additions and 4 deletions

View File

@ -9,16 +9,16 @@ import Home from "./Home";
import DocsLayout from "./DocsLayout";
import ErrorBoundary from "./ErrorHandler";
import Introduction from "./docs/getting-started/introduction.mdx";
import Installation from "./docs/getting-started/installation.mdx";
import DocsIntroduction from "./docs/docs/introduction.mdx";
import DocsInstallation from "./docs/docs/installation.mdx";
const router = createBrowserRouter(
createRoutesFromElements(
<Route path="/" element={<MainLayout />} errorElement={<ErrorBoundary />}>
<Route index element={<Home />} />
<Route path="/docs" element={<DocsLayout />}>
<Route index element={<Introduction />} />
<Route path="installation" element={<Installation />} />
<Route index element={<DocsIntroduction />} />
<Route path="installation" element={<DocsInstallation />} />
</Route>
</Route>
)