nuxt-hsts-module
v0.0.1
Published
Provide basic authentication to your Nuxt.js application
Downloads
134
Maintainers
Readme
Project archived: I recommend using nuxt-helmet instead. I'm using it.
Nuxt.js HTTP Strict Transport Security module
Add HTTP Strict Transport Security Header to your Nuxt Application.
https://www.npmjs.com/package/nuxt-hsts-module
Installation
$ yarn add nuxt-hsts-module # or npm install
Usage
Edit your nuxt.config.js
module.exports = {
// ...
modules: [
'nuxt-hsts-module'
],
hsts: process.env.NODE_ENV === 'production'
// ...
}
License
MIT
https://github.com/potato4d/nuxt-hsts-module/blob/master/LICENSE