docs: update React installation guide
This commit is contained in:
@@ -27,9 +27,12 @@ yarn create react-app my-tiptap-project --template tiptap
|
|||||||
Let’s 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.
|
Let’s 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
|
```bash
|
||||||
# create a project
|
# create a project with npm
|
||||||
npx create-react-app my-tiptap-project
|
npx create-react-app my-tiptap-project
|
||||||
|
|
||||||
|
# or if you prefer Yarn
|
||||||
|
yarn create react-app my-tiptap-project
|
||||||
|
|
||||||
# change directory
|
# change directory
|
||||||
cd my-tiptap-project
|
cd my-tiptap-project
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user