forked fromshuding/nextra
- Notifications
You must be signed in to change notification settings - Fork0
Simple, powerful and flexible site generation framework with everything you love from Next.js.
License
NotificationsYou must be signed in to change notification settings
eteg/nextra
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple, powerful and flexible site generation framework with everything you lovefrom Next.js.
The Nextra repository usesPNPM Workspaces andTurborepo. To install dependencies, runpnpm install
in the project root directory.
cd packages/nextrapnpm build
Watch mode:pnpm dev
cd packages/nextra-theme-docspnpm build
Command | Description |
---|---|
pnpm dev | Watch mode |
pnpm dev:layout | Watch mode (layout only) |
pnpm dev:tailwind | Watch mode (style only) |
You can also debug them together with a website locally. For instance, to startexamples/docs locally, run
cd examples/docspnpm dev
Any change to example/docs will be re-rendered instantly.
If you update the core or theme packages, a rebuild is required. Or you can usethe watch mode for both nextra and the theme in separated terminals.