mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs(v2): add npm2yarn to TypeScript install command (#3750)
This commit is contained in:
parent
25fc35aec7
commit
bb64f68acd
|
|
@ -7,7 +7,7 @@ title: TypeScript Support
|
|||
|
||||
Docusaurus supports writing and using TypeScript theme components. To start using TypeScript, add `@docusaurus/module-type-aliases` and some `@types` dependencies to your project:
|
||||
|
||||
```bash
|
||||
```bash npm2yarn
|
||||
npm install --save-dev typescript @docusaurus/module-type-aliases @types/react @types/react-router-dom @types/react-helmet @tsconfig/docusaurus
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue