Skip to content

Commit 39b02d6

Browse files
authored
fix: update dependency install instructions (#73)
1 parent 1eff278 commit 39b02d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1. Add `@nuxtjs/date-fns` dependency to your project
1616

1717
```bash
18-
yarn add --dev @nuxtjs/date-fns # or npm install --save-dev @nuxtjs/date-fns
18+
yarn add @nuxtjs/date-fns # or npm install @nuxtjs/date-fns
1919
```
2020

2121
2. Add `@nuxtjs/date-fns` to the `buildModules` section of `nuxt.config.js`
@@ -32,7 +32,7 @@ export default {
3232
}
3333
```
3434

35-
:warning: If you are using Nuxt **< v2.9** you have to install the module as a `dependency` (No `--dev` or `--save-dev` flags) and use `modules` section in `nuxt.config.js` instead of `buildModules`.
35+
:warning: If you are using Nuxt **< v2.9** you have to use `modules` section in `nuxt.config.js` instead of `buildModules`.
3636

3737
### Using top level options
3838

0 commit comments

Comments
 (0)