Documentation site for Quiet Mind Creative, powered by @quietmind/mdx-docs.
git clone https://github.com/ezrafree/quietmind-dev.git ; \
cd quietmind-dev ; \
yarn ; \
yarn devOpen http://localhost:5173 in your browser.
To update @quietmind/mdx-docs:
yarn up @quietmind/mdx-docs@latest| Command | Description |
|---|---|
yarn dev |
Start development server |
yarn build |
Build for production |
yarn preview |
Preview production build |
yarn serve |
Preview with network access |
quietmind-dev/
├── pages/ # MDX content pages
│ ├── home.mdx
│ └── bootstrap.mdx
├── config/
│ ├── pages.js # Page routes and navigation
│ └── site.js # Site name and settings
├── index.html
├── main.jsx
└── vite.config.js
- Create a new MDX file in
pages/:
# My New Page
Content goes here with **markdown** and React components.- Register it in
config/pages.js:
const MyPageMDX = lazy(() => import("@pages/my-new-page.mdx"));
export const pages = [
// ...existing pages
{
name: "My New Page",
route: "/my-new-page",
component: MyPageMDX,
},
];Pages with isDefault: true are the home/fallback route. All other pages appear in the sidebar navigation.