Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored May 17, 2024
1 parent ed04377 commit 7099819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cta:
secondary:
- Star on GitHub →
- https://github.com/nuxt-modules/google-fonts
snippet: npm i -D @nuxtjs/google-fonts
snippet: npx nuxi@latest module add google-fonts
---

#title
Expand Down
17 changes: 2 additions & 15 deletions docs/content/1.getting-started/1.setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,10 @@ Using Google Fonts in your Nuxt project
## Installation

1. Install `@nuxtjs/google-fonts` dependency to your project:

::code-group

```bash [yarn]
yarn add -D @nuxtjs/google-fonts
```

```bash [npm]
npm install -D @nuxtjs/google-fonts
```bash
npx nuxi@latest module add google-fonts
```

```sh [pnpm]
pnpm i -D @nuxtjs/google-fonts
```

::

2. Add it to your `modules` section in your `nuxt.config`:

::code-group
Expand Down

0 comments on commit 7099819

Please sign in to comment.