Skip to content

Commit

Permalink
docs: typo in nextjs installation instructions. Refers to a jsx file …
Browse files Browse the repository at this point in the history
…as js file (#4871)
  • Loading branch information
daviddkkim committed May 23, 2024
1 parent daa5e52 commit 9554553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm install @tiptap/react @tiptap/pm @tiptap/starter-kit
If you followed step 1 and 2, you can now start your project with `npm run dev`, and open [http://localhost:3000/](http://localhost:3000/) in your favorite browser. This might be different, if you’re working with an existing project.

## 3. Create a new component
To actually start using Tiptap, you’ll need to add a new component to your app. To do this, first create a directory called `components/`. Now it's time to create our component which we'll call `Tiptap`. To do this put the following example code in `components/Tiptap.js`.
To actually start using Tiptap, you’ll need to add a new component to your app. To do this, first create a directory called `components/`. Now it's time to create our component which we'll call `Tiptap`. To do this put the following example code in `components/Tiptap.jsx`.

```jsx
'use client'
Expand Down

0 comments on commit 9554553

Please sign in to comment.