Docusaurus โ Run and Build
Requirements:
- Node.js 18+
 
Create a new site:
npx create-docusaurus@latest my-docs classiccd my-docsnpm installRun locally:
npm run startVisit the URL shown (usually http://localhost:3000)
Build for production (output to build/):
npm run buildPreview production build:
npm run serveDeploy the build/ folder to any static host.