Skip to content

Tag: nuxt.js

Nuxt + Vuex + Computed Property

I am currently trying Nuxt.js with Vuex. And I Built a simple form, where I have an email field, a password field and a button. All my state, mutations and actions are working as they should be. But When I created a computed property just to validate the password, I always have an error with an if statement t…

Nuxt.js fails to start up with auth module

npx create-nuxt-app client and set it up. Run npm run dev and everything works. I start auth setup with npm install @nuxtjs/auth add ‘@nuxtjs/auth’ module in nuxt.config.js add example auth strategy like so Add the example vue store and save it in store/index.js: I run npm run dev, everything comp…

How to make routes case sensitive in Nuxt

I use nuxt.js + vue.js. I need to create case sensitivity of routers. I found the following property: caseSensitive. I’m trying to put it into nuxt.config but it doesn’t work, the transition is possible by links in upper case. If I directly change the file ~project/.nuxt/router.js, everything works correctly.…