Skip to content

Commit

Permalink
feat: add security module
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Sep 12, 2024
1 parent 304c41d commit c6d40cb
Show file tree
Hide file tree
Showing 3 changed files with 3,556 additions and 1,388 deletions.
7 changes: 6 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ export default defineNuxtConfig({
autoprefixer: {},
},
},
modules: ['@nuxtjs/i18n', '@nuxtjs/color-mode', '@nuxtjs/device'],
modules: [
'@nuxtjs/i18n',
'@nuxtjs/color-mode',
'@nuxtjs/device',
'nuxt-security',
],
colorMode: {
preference: 'system', // default value of $colorMode.preference
fallback: 'dark', // fallback value if not system preference found
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"nuxt": "^3.12.4",
"nuxt-security": "2.0.0-rc.9",
"postcss": "^8.4.40",
"prettier": "^3.1.1",
"sass": "^1.69.7",
Expand Down
Loading

0 comments on commit c6d40cb

Please sign in to comment.