File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed
Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 1212secondary:
1313 - Star on GitHub →
1414 - https://github.com/nuxt-modules/google-fonts
15- snippet: npm i -D @ nuxtjs/ google-fonts
15+ snippet: npx nuxi@latest module add google-fonts
1616---
1717
1818#title
Original file line number Diff line number Diff line change @@ -5,23 +5,10 @@ Using Google Fonts in your Nuxt project
55## Installation
66
771 . Install ` @nuxtjs/google-fonts ` dependency to your project:
8-
9- :: code-group
10-
11- ``` bash [yarn]
12- yarn add -D @nuxtjs/google-fonts
13- ```
14-
15- ``` bash [npm]
16- npm install -D @nuxtjs/google-fonts
8+ ``` bash
9+ npx nuxi@latest module add google-fonts
1710```
1811
19- ``` sh [pnpm]
20- pnpm i -D @nuxtjs/google-fonts
21- ```
22-
23- ::
24-
25122 . Add it to your ` modules ` section in your ` nuxt.config ` :
2613
2714:: code-group
You can’t perform that action at this time.
0 commit comments