docs: update React installation guide

This commit is contained in:
Hans Pagel
2021-10-21 13:03:04 +02:00
parent f25a063df0
commit 6987505fda

View File

@@ -27,9 +27,12 @@ yarn create react-app my-tiptap-project --template tiptap
Lets start with a fresh React project called `my-tiptap-project`. [Create React App](https://reactjs.org/docs/getting-started.html) will set up everything we need.
```bash
# create a project
# create a project with npm
npx create-react-app my-tiptap-project
# or if you prefer Yarn
yarn create react-app my-tiptap-project
# change directory
cd my-tiptap-project
```