Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2024
1 parent 7a1b6a5 commit a81faa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
1. Add `nuxt-tiptap-editor` dependency to your project

```sh
yarn add -D nuxt-tiptap-editor
npx nuxi@latest module add tiptap

npm install --save-dev nuxt-tiptap-editor
npx nuxi@latest module add tiptap

pnpm add -D nuxt-tiptap-editor
npx nuxi@latest module add tiptap
```

2. Add `nuxt-tiptap-editor` to the `modules` section of `nuxt.config.ts`
Expand Down
16 changes: 2 additions & 14 deletions docs/docs/quick-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,9 @@ title: Quick Setup
# Quick Setup

1. Add `nuxt-tiptap-editor` dependency to your project

::: code-group

```sh [yarn]
yarn add -D nuxt-tiptap-editor
```

```sh [npm]
npm install --save-dev nuxt-tiptap-editor
```

```sh [pnpm]
pnpm add -D nuxt-tiptap-editor
```bash
npx nuxi@latest module add tiptap
```
:::

2. Add `nuxt-tiptap-editor` to the `modules` section of `nuxt.config.ts`

Expand Down

0 comments on commit a81faa4

Please sign in to comment.