nextjs-doc-template

A documentation template based on NextJS and Nextra that exports pure HTML files.

MIT License

Stars
2
Committers
1

Nextjs Doc Template

A documentation template based on NextJS and Nextra that exports pure HTML files.

Getting Started

Make sure if NODEJS is installed on your computer.

Install Dependencies:

$ npm install

Run Project in development mode:

$ npm run dev

With is command file will be compiled and it will be loaded on local server http://localhost:3000.

Production Build :

$ npm run build 

Start a Next.js production server:

$ npm run start

Export your Next.js application to static HTML

Pure HTML Static Files (.html)

Step 1. generate static resources:

$ npm run export

Step 2. fix name for HTML files:

$ npm run export:fix

Contributing

Supported development environment

  • Nextra 2+
  • Next.js 14+
  • React 18 +
  • TypeScript 4.x.x +

Licensing

Licensed under the MIT.