Skip to content

Commit 41cdbfb

Browse files
authored
docs: easier instructions
1 parent 1aa9307 commit 41cdbfb

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ Install the module:
3232
npx nuxi@latest module add security
3333
```
3434

35-
Add the module in the `modules` array in `nuxt.config.ts`:
36-
37-
```js
38-
export default defineNuxtConfig({
39-
modules: ["nuxt-security"],
40-
})
41-
```
42-
4335
And that's it! The module will now register route rules and server middlewares globally so that your application will be more secured.
4436

4537
## Configuration

docs/content/1.documentation/1.getting-started/1.setup.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ Install `nuxt-security` module:
1111
npx nuxi@latest module add security
1212
```
1313

14-
Add it to `modules` in your `nuxt.config`:
15-
16-
```js{}[nuxt.config.ts]
17-
export default defineNuxtConfig({
18-
modules: ['nuxt-security']
19-
})
20-
```
21-
2214
That's it! The Nuxt Security module will now register routeRules and middleware to make your application more secure ✨
2315

2416
## Configuration

0 commit comments

Comments
 (0)