Nuxt Security Module for SPA #597
Unanswered
ademyalcin27
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey Buddy By default, Nuxt Security is mainly meant for SSR due to the middleware functions such as rate limiters or CSRF. However, we have enabled certain part of the functionality to be used in SSG apps (like Content Security Policy via http-equiv). So to answer your question, you could use this functionality to set meta http equiv but keep in mind that majority of the functionality will not work. Also, with frontend navigation you could get some conflicting values of headers. So I would not recommend to use this module for SPA. You could use your hosting provider security featues (i.e Cloudflare comes with DDoS support) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a quick question regarding the Nuxt Security module. Can we use this module for a Single Page Application (SPA)? If yes, could you please share a small example or provide some guidance on how to implement it?
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions