File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
docs/content/1.documentation/1.getting-started Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ Install the module:
3232npx 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-
4335And 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
Original file line number Diff line number Diff line change @@ -11,14 +11,6 @@ Install `nuxt-security` module:
1111npx 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-
2214That's it! The Nuxt Security module will now register routeRules and middleware to make your application more secure ✨
2315
2416## Configuration
You can’t perform that action at this time.
0 commit comments