Closed kissu closed 3 years ago
I'd love to know about this as well!
Good question! Would love to know that myself. It doesn't seem to, which is the only time I need this to work (when it's static). It working locally isn't very helpful.
@kissu @tallcoder Nuxt.js's static mode works as a static website. In a static website, Nuxt.js only serves files and does not allow Node.js-derived functionality to operate. Therefore, the nuxt-basic-auth-module, which relies on Nuxt.js, does not work in static, which is the correct behavior.
So yeah, basically this module is working great while
nuxt dev
.But when
nuxt generate
thennuxt start
, so it's giving meIt just ignore the whole security even with
enabled: true
.Wanted to be sure what is happening there. 😄