docs: Added Next.js installation guide & express setup for React (#1984)

* Added Next.js installation guide & express setup for React

* Update react.md

Co-authored-by: Hans Pagel <hanspagel@users.noreply.github.com>
This commit is contained in:
Aron Buzinkay
2021-10-07 13:15:45 +02:00
committed by GitHub
parent 9255a951a7
commit 2be975ff1f
3 changed files with 84 additions and 0 deletions

View File

@@ -12,6 +12,14 @@ The following guide describes how to integrate tiptap with your [React](https://
* [Node](https://nodejs.org/en/download/) installed on your machine
* Experience with [React](https://reactjs.org/docs/getting-started.html)
## Using a template
If you just want to get up and running with tiptap you can use the [tiptap Create React App template](https://github.com/alb/cra-template-tiptap) by [@alb](https://github.com/alb) to automatically create a new project with all the steps below alreay completed.
```bash
# create a project based on the tiptap template
npx create-react-app tiptap-example --template tiptap
```
## 1. Create a project (optional)
If you already have an existing React project, thats fine too. Just skip this step and proceed with the next step.