Skip to content

Latest commit

 

History

History
executable file
·
57 lines (35 loc) · 985 Bytes

README.md

File metadata and controls

executable file
·
57 lines (35 loc) · 985 Bytes

Starter template for Docus.

Clone

Clone the repository (using nuxi):

npx nuxi init -t themes/docus

Setup

Install dependencies:

pnpm install

Development

pnpm dev

Edge Side Rendering

Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.

Look at all the available presets here.

pnpm build

Static Generation

Use the generate command to build your application.

The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.

pnpm generate

Preview build

You might want to preview the result of your build locally, to do so, run the following command:

pnpm preview

For a detailed explanation of how things work, check out Docus.