The TypeScript variant for the classic
template is missing
#5735
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: question
This issue is a user error/misunderstanding.
🐛 Bug Report
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Running
npm init docusaurus@latest my-website classic --typescript
produces the identical files as running the same script without the--typescript
flag. It looks like the classic-typescript folder contains the same files as classic, which might be the cause.Have you read the Contributing Guidelines on issues?
Yes.
Steps to reproduce
npm init docusaurus@latest my-website classic
.npm init docusaurus@latest my-website classic --typescript
.Expected behavior
The project created by running the command with the
--typescript
flag should have TypeScript set up.Actual behavior
The project created by running the command with the
--typescript
flag has the same setup as the one created without the--typescript
flag.Your environment
Reproducible demo
https://codesandbox.io/s/github/facebook/docusaurus/tree/main/examples/classic-typescript
The text was updated successfully, but these errors were encountered: