nuxt-helmet:Nuxt的头盔

时间:2021-04-28 23:54:27
【文件属性】:
文件名称:nuxt-helmet:Nuxt的头盔
文件大小:252KB
文件格式:ZIP
更新时间:2021-04-28 23:54:27
vuejs vue helmet nuxt nuxtjs nuxt的头盔 与Nuxt.js轻松集成 通过设置各种HTTP标头来帮助您保护Nuxt应用程序。 默认情况下, 将设置X-DNS-Prefetch-Control , X-Frame-Options , Strict-Transport-Security , X-Download-Options , Expect-Ct , Referrer-Policy和X-Content-Type-Options标头。 此外,该模块还将默认设置X-Permitted-Cross-Domain-Policies标头。 | 设置 将带有yarn或npm nuxt-helmet依赖项添加到您的项目中 添加nuxt-helmet在年初modules的部分nuxt.config.js 配置它: { modules : [ 'nuxt-helmet' //...other mo
【文件预览】:
nuxt-helmet-master
----.huskyrc.js(147B)
----.github()
--------FUNDING.yml(125B)
--------dependabot.yml(540B)
----commitlint.config.js(76B)
----yarn.lock(618KB)
----.eslintrc.js(143B)
----babel.config.js(142B)
----.circleci()
--------config.yml(2KB)
----lib()
--------module.js(452B)
----example()
--------pages()
--------nuxt.config.js(244B)
--------static()
----LICENSE(1KB)
----test()
--------defaults.test.js(1KB)
--------helpers.js(543B)
--------helmet.test.js(573B)
--------params.test.js(573B)
--------fixture()
----jest.config.js(318B)
----README.md(3KB)
----renovate.json(37B)
----.editorconfig(207B)
----.gitignore(70B)
----CHANGELOG.md(2KB)
----.eslintignore(66B)
----package.json(2KB)

网友评论