Skip to content
Advertisement

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 to validate

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 compiles and init message shows to go to http://localhost:3000/. Trying to

Nuxt.js with Typeform causes me to force reload page

I am making my own personal webdesign website but I can’t wrap my head around this problem. How it happens: When I navigate from any page to my contact-page (where the Typeform is), the Typeform is simply not showing. When I reload the contact-page itself, it works as it is expected. I am loading the Typeform script this way: contact.vue

How to use Firebase Environment Variables in Nuxt Config

I am trying to separate Firebase Creds from my Nuxt Config file. But it is saying NuxtServerError Your API key is invalid, please check you have copied it correctly. It works fine when I use my creds directly into my nuxt config (without environment variables). I am using @nuxtjs/firebase module and this is my config: firebase ssr/universal auth documentation I

Electron+nuxt+amCharts 4: Unexpected token export

I want to code a desktop application using Electron, nuxt.js and am4charts. When importing the am4charts core with import * as am4core from ‘@amcharts/amcharts4/core’ the app returns an error: My setup: Electron-nuxt boilerplate (https://github.com/michalzaq12/electron-nuxt) “@amcharts/amcharts4”: “^4.7.1” I already tried to transpile amCharts in nuxt.config.js using but without success. How can I fix this issue? Answer I found it could be

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. Help me to figure it out. Answer Your code seems to

Advertisement