Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [nuxt.js]

Nuxt.js is a framework for creating Vue.js applications, you can choose between Universal, Static Generated or Single Page application (inspired by Next.js)

nuxt.js
6,009 questions with no upvoted or accepted answers
17 votes
1 answer
2k views

Deploying Vue/Nuxt app to Firebase as Universal App with SSR

I'm trying to deploy my Universal Nuxt.js app to Firebase. All information on doing this appears to be out-dated, and I'm not able to get it fully working. SSR appears to work, along with static ...
user avatar
16 votes
1 answer
6k views

How to authenticate Nuxt on server side?

I have spent the night looking for solutions to this issue, it seems like a lot of people have it and the best advice is often "just switch to SPA mode", which is not an option for me. I ...
zcserei's user avatar
  • 645
12 votes
1 answer
4k views

Init pinia state

We use pinia to manage app state. As it's mentioned in title, I'm looking for NuxtServerInit hook analogue for pinia. A little context: User lands on First page of form; Form calls (f.e.) state....
Eugen Govorun's user avatar
10 votes
0 answers
3k views

How to remove window.__NUXT__ without any issue from Vuex in Nuxt

I'm on Nuxt 2.13 and I'm having an issue with window.__Nuxt__(function(a,b,c,d,.....)). I don't know if it will affect my SEO or not, but it's on my nerve and shows all my language file. here is the ...
Mojtaba Barari's user avatar
10 votes
1 answer
1k views

Nuxt with Vuetify theme styles in head section

I'm using Vuetify with Nuxt.js and I have chunked out my css files so that when I use npm run generate all my my styles aren't included in every page on my site. To acheive doing this, iv'e added.... ...
ottz0's user avatar
  • 2,595
10 votes
0 answers
2k views

Debugging Nuxt.js application (client side) with Chrome developer console

When I'm trying to debug a Nuxt.js application (the client side code, not the server side) in Chrome, I'm finding that breakpoints aren't being hit when I expect them to be. in nuxt.config.js I have ...
Christian's user avatar
  • 1,835
9 votes
2 answers
651 views

Creating component programmatically in Nuxt.js

I'm trying to create a nuxt.js component programmatically. I tried the approach below which works in Vue. But it doesn't seem to work in nuxt.js because it instantiates the component on the Vue object....
Max Campbell's user avatar
9 votes
0 answers
4k views

Nuxt.js: How to debug server side after nuxt build (logging some information)

I am using nuxt.js for my frontend app. I currently have a problem with asyncData especially the first time it is run (which is on the server). When building my app ($ nuxt build and serving it via $ ...
Merc's user avatar
  • 4,482
9 votes
0 answers
975 views

Exclude files form webpack in nuxt

I've added some file to my nuxt project. The files are stored in the ./content directory. Now we got some warnings like the following one: WARN in ./content/config.yml Module parse failed: ...
David's user avatar
  • 4,087
9 votes
0 answers
2k views

Nuxt auth-module google login promise on success

I am using Nuxt with the auth-module. Logging in to Google works: this.$auth.loginWith("google").then(() => { console.log("Logged in!"); }); Here is my google login strategy: google: { ...
abegehr's user avatar
  • 539
9 votes
2 answers
8k views

Why Proxy not working in browser (NuxtJS+Axios)?

In server rendering Proxy is working fine. Request is going to custom-server.com/v1/places. But in browser request is going to current-domain.com/api/places Why it is not working in browser? Proxy ...
mrFlyer's user avatar
  • 91
8 votes
0 answers
2k views

Using SendGrid with Nuxt.js

This post is not a question actually. More like help to the world for people who are struggling with Nuxt.js and SendGrid. I've been using stackoverflow for such a long time so maybe now it's my turn ...
Rafal Adam Krohne's user avatar
8 votes
0 answers
3k views

Nuxt.js - Axios crashes with 'Maximum call stack size exceeded'

I'm building a website using Nuxt Frontend + Node Backend. Currently, I've implemented nuxtServerInit code inside Vuex store file. The web seems working without error, but it often crashes with the ...
Steven Yoo's user avatar
8 votes
0 answers
1k views

Smallest possible Vuetify CSS/JS size 0.5Mb?

I created a brand new NUXT app and included in it the following minimum setup: // package.json { "scripts": { "generate": "nuxt generate", "analyze": "nuxt build --analyze" }, "...
Parakoos's user avatar
  • 1,283
8 votes
0 answers
907 views

Validate with asyncData/fetch - Commit data from within Validate?

If I want to validate the existence of a dynamic resource Nuxt recommends implementing a validate() call within the page component. If that call performs an API request for data in order to validate ...
Michael's user avatar
  • 6,859

15 30 50 per page
1
2 3 4 5
401