mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 02:42:41 +02:00
feat: create official TypeScript base config @docusaurus/tsconfig (#9050)
This commit is contained in:
parent
6102a5a671
commit
012b285805
13 changed files with 63 additions and 18 deletions
|
@ -35,5 +35,18 @@ cd `git rev-parse --show-toplevel` # Back to repo root
|
|||
rm -rf test-website-in-workspace
|
||||
yarn create-docusaurus test-website-in-workspace classic
|
||||
cd test-website-in-workspace
|
||||
yarn build
|
||||
yarn start
|
||||
```
|
||||
|
||||
For the TypeScript template:
|
||||
|
||||
```bash
|
||||
cd `git rev-parse --show-toplevel` # Back to repo root
|
||||
rm -rf test-website-in-workspace
|
||||
yarn create-docusaurus test-website-in-workspace classic --typescript
|
||||
cd test-website-in-workspace
|
||||
yarn typecheck
|
||||
yarn build
|
||||
yarn start
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue