Skip to content

Repository files navigation

Vite Monopage

GitHub Pages

A high-performance, beautiful documentation starter powered by Vite, Tailwind CSS and MDX.

Getting Started

To get started, make sure you have Node.js and pnpm installed on your system. Then, follow these steps:

git clone https://github.com/area44/vite-monopage.git
cd vite-monopage
pnpm install
pnpm dev
pnpm build

Project Structure

vite-monopage/
├── .github/                    # GitHub actions CI/CD workflows
├── public/                     # Static assets and media files
├── src/                        # Main application source code
│   ├── components/             # Custom React components and reusable UI blocks
│   ├── lib/                    # Standard utilities
│   ├── pages/                  # MDX document files
│   ├── plugins/                # Markdown processing plugins
│   ├── styles/                 # Application stylesheets
│   ├── app.tsx                 # Core page
│   ├── main.tsx                # Client-side mounting entry point
│   ├── mdx-components.tsx      # Custom React elements dictionary for MDX tags
│   ├── mdx.d.ts                # TypeScript definition module for *.mdx files
│   └── vite-env.d.ts           # Vite client type references
├── AGENTS.md                   # Onboarding guide for AI developer agents
├── README.md                   # Main project introduction
├── index.html                  # Core HTML file containing root mount element
├── package.json                # Dependencies, scripts, and package information
├── pnpm-workspace.yaml         # Workspace settings
├── tsconfig.json               # Project-wide TypeScript compiler settings
└── vite.config.ts              # Vite configurations

Customization

Editing Content

Your main documentation content lives in src/pages/index.mdx. Simply edit this file to update your site. The page title and description are managed via frontmatter.

Adding Components

You can create new React components in src/components and register them in src/mdx-components.tsx. Once registered, they are available to use directly in your MDX files.

License

Distributed under the MIT License. See LICENSE for more information.

About

A high-performance, beautiful documentation starter powdered by Vite, Tailwind CSS and MDX

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages