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
13,084
questions
0
votes
0
answers
11
views
Why does the language setting not work for input error in vee-validate?
I think I have set all the language settings for vee-validate but it still defaults to the English language error! I want to display the errors in Farsi language. I have also installed the necessary ...
0
votes
1
answer
30
views
Optimizing Background Images In Nuxt 3
I'm developing a Nuxt.js application and I need to set a decorative background image for a <div>. I prefer using background-image for decorative elements, as it is semantically more appropriate, ...
0
votes
0
answers
9
views
How to import input in select field with vee-validate 4
I am going to put an input as an input to filter the options at the beginning of the options.
But when I put the input inside the field, it is not rendered and displayed at all.
<script setup>
...
0
votes
0
answers
21
views
nuxt - router.getRoutes() hydration mismatch
A basic implementation of router.getRoutes() to print routes to screen causes a strange hydration mismatch.
// implementation
<template>
<div>
<v-list>
<v-list-item v-...
0
votes
0
answers
24
views
Can't build a dynamic link on nuxt 3
I need to create a link like this for password-reset
http://localhost:3000/password-reset/d866f5fa974450aabc5fe0943d7266c6659f43e28f1a7a3cda94957374e55974?email=ospreystudio2020@gmail.com
I compiled ...
0
votes
0
answers
33
views
Nuxt 3 / Nuxt UI / Vuedraggable - Is it possible to reorder table rows in <UTable> using Vuedraggable?
I need to create a table with the possibility of reordering items via drag&drop but no idea if that's possible. I am using many v-slots to adjust the styling and content.
<UTable
...
0
votes
0
answers
12
views
How can i add custom html tag with features and styling in Nuxt Js 2 - Vue Js
I'm currently engaged in developing a significant Nuxt.js website for my company. My objective is to eliminate redundant HTML, CSS, and JS code across multiple pages. I'm actively researching methods ...
0
votes
1
answer
25
views
Use Nuxt's useHead with visibilitychange event
On every page I set title using useHead({title: ""});.
In layout/default.vue file, I added:
useHead({
titleTemplate: title => {
let titleDefault = 'Company suffix';
if (title) {...
0
votes
0
answers
14
views
How to use codemirror in Nuxt Content?
I´m new with Vue and Nuxt3 Content and I can't insert Codemirror code editor. I want to create a component for use it inside a markdown file for show a code and allow the users to edit it.
0
votes
1
answer
16
views
useAsyncData status returning idle
const { data, status, error, refresh, clear } = await useAsyncData(
'campaign',
() => $fetch(`${$request.baseUrl}/cs/v1/campaign/find/${route.params.campaign}?mode=${route.query.mode || ''}`, {...
0
votes
0
answers
20
views
Nuxt 3 locale javascript files not working after page changes
i added some locale javascript files to my nuxt app but after changing page the javascriptp file are not working of course because they couldn't catch necceserry DOM elements , in this case what ...
0
votes
0
answers
25
views
When using ESLint in a Vue component, do I need to set the lint rules for the <script> and <template> separately?
I have a Nuxt 3 app that uses the new Nuxt ESLint module for linting and formatting (using ESLint Stylistic). The relevant bit of my ESLint config looks like this:
import withNuxt from './.nuxt/eslint....
1
vote
0
answers
15
views
Nuxt to Next app migration - do I need API Gateway?
We are building an ecommerce app in Nuxt and want to migrate to Next.js page by page, while the service is running.
Currently frontend is served from a docker image in AWS AppRunner.
I see two options ...
0
votes
0
answers
5
views
Nuxt running on CMS - how to ignore part of the path?
I am deploying an app on a CMS. The path that is requested might look like this:
https://preview-blockstest-chesheast.cloud.contensis.com/roads/potholes
However, my app doesn't know about this path (...
0
votes
0
answers
32
views
Nuxt 3 dynamic page after refresh redirect to 404
can someone help me?
I have such a dynamic page
on the host the page opens upon click, but after the refresh I get 404
pages/blog/[slug].vue
<script setup>
import { useBlogStore } from '@/store/...