nuxt.js Questions

8

I have a Nuxt project and for the SEO purpose, I need to reload the pages every time I do visit any page. Is there any way I can do it on Routers? Currently, my app is with the default behavior o...
Crassus asked 8/10, 2019 at 9:51

2

Solved

I have a plugin that I don't want the client to see. Unfortunately it is allways built both for the server and the client. How can this be prevented? <template> <div> Test </div...
Bestir asked 3/8, 2017 at 21:11

3

I just started with Nuxt 3 and have been having some trouble with using typescript functionality. I am trying to build a general NavBar that can have multiple buttons with different links. For this...
Lexicon asked 3/5, 2022 at 12:24

3

Solved

I'm building a website in Nuxt 3 for frontend with SSR, and Laravel in the backend. In the Nuxt 3 project, I have an ApiBridge.js file in the utils directory that I use to organize API calls, set t...
Armored asked 26/2, 2023 at 22:2

9

I have been trying to deploy my nuxt app to Vercel for a while now but I'm getting this error saying: Error: error:0308010C:digital envelope routines::unsupported I solved the issue on my local mac...
Raster asked 14/12, 2022 at 11:39

3

Hello I've got an issue with a Nuxt.js app that I can't seem to resolve. What I want to do is to change the name of the generated _nuxt folder with some other name. So far I've updated the nuxt.con...
Venal asked 24/2, 2020 at 11:29

3

Solved

I've setup my .hosts file to: 127.0.0.1 local.mydomain.dk And then in my nuxt config file i've setup: server: { port: 3000, // default: 3000 host: 'local.mydomain.dk' // default: localhost }, An...
Buck asked 7/9, 2020 at 12:10

2

Solved

When trying to use an i18n message in a Nuxt3 Pinia store I get the error message: "SyntaxError: Must be called at the top of a setup function" When using a message in a template I can do...
Koumis asked 3/12, 2023 at 15:12

4

Solved

Hello guys Im trying to create dynamic 'Breadcrumbs' in Nuxt.js, Does anyone have a working example how it should work I have tried creating a simple sample but it is not working as expected, does...
Bestow asked 27/8, 2019 at 14:32

3

Solved

I am fetching data from an API in Nuxt3. I am using typescript and I wish to define the type of data that I will get. How do I specify this? <script lang="ts" setup> interface APIB...
Syman asked 7/6, 2022 at 6:49

9

Solved

I have following component, and I would like to have a button that copies the link_url to the clipboard on click. I have javascript code that works when selecting an id, however the links do not ha...
Pleasure asked 6/11, 2019 at 15:50

6

I try to use @nuxt/image with image from assets folder; when using image from static folder or external url, the image is optimised as well; but when on using it on image from assets like below: &l...
Dexamethasone asked 29/1, 2022 at 5:26

3

I just started learning nuxtjs (have some experience in vue.js) and I stuck into the following problem: I have a simple todo-[id].vue page. It should get an todo from the API and render on the page...
English asked 15/8, 2022 at 7:50

3

Being new to NUXT, I am a bit confused about the difference between the assets and static folders. in the documentation regarding this folders it says: every file below 1 KB will be inlined as ...
Urolith asked 15/2, 2018 at 13:13

3

Solved

I have a Nuxt app and I want to use the CSS pre-processor. I installed the sass-loader fibers dependencies, but after installation, a message appears in the application console, which I presented ...
Overlie asked 10/8, 2021 at 14:44

6

I upgraded the node and built the existing file. But it didn't build, and there was an error. Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: │ │ ~~/nuxt.config.js │ │ require() of ...
Cornwell asked 24/4, 2020 at 5:1

2

I have a form built on Nuxt/vuejs. On the backend side on django the CSRF protection is enabled which now expects two things in the Api call X-CSRFToken as a header and csrftoken as a Cookie , I te...
Flyman asked 14/2, 2022 at 9:8

3

Solved

Sorry if this is asked, just not sure what to search for. Is there a way to change the template that's used to generate the index.html file when building a Nuxt app in spa mode?
Mound asked 8/11, 2019 at 22:34

6

I just migrated my project created in vue 3 to nuxt 3. Previously I used the vue-toastification module but now I don't know how to import it correctly. My code using this module. import { useToast,...
Gangrel asked 3/12, 2022 at 15:5

4

I have multiples script in my folder /assets/js. I added them to nuxt.config.js like that: script: [ { src: 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' }, { src: '~assets...
Cognizant asked 17/11, 2017 at 2:43

3

Solved

I'm using Nuxt3/Typescript/CompositionAPI.. Why does my nuxt.config.ts keep giving me errors when I want to use for example the 'css:'? Right now this is my nuxt.config.ts: // https://nuxt.com/docs...
Antiphlogistic asked 6/4, 2023 at 12:13

4

Solved

I have a Nuxt.js server side website deployed on Vercel. I've noticed that, on some occasions, I get a 504: GATEWAY_TIMEOUT error, with the code FUNCTION_INVOCATION_TIMEOUT and the message "Th...
Lyonnaise asked 6/7, 2021 at 19:52

3

Solved

I'm using Vuetify in a Nuxt project. By using the slot no-data in a v-data-table I was able to modify the "No data available" message. It's also working if I use the prop no-data-text. &l...
Stiffnecked asked 3/5, 2021 at 6:36

2

I use Nuxt with SSR and would like to have something similar to apaches access.log and error.log Especially I'm interested in the response time for each call. I couldn't find anything in the nuxt d...
Petronius asked 16/2, 2022 at 8:59

1

Nuxt: 3.6.2 Pinia: 2.1.4 @pinia/nuxt: 0.4.11 While defining a Nuxt 3 plugin for Pinia I need to access the $pinia instance that exists on nuxtApp. The defineNuxtPlugin() function passes on argumen...
Gargoyle asked 11/7, 2023 at 22:25

© 2022 - 2024 — McMap. All rights reserved.