Scaffold Application
Generate a website
Use the command below to initialize a new Docusaurus site:
npx create-docusaurus@latest my-website classic
Generate a website with TypeScript support
You can also initialize the site with TypeScript support:
npx create-docusaurus@latest my-website classic --typescript
Alternatively, create the app with Yarn:
yarn create docusaurus
Or create the app with pnpm:
pnpm create docusaurus
For additional information, click here