Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

nuxtjs/sitemap fetchContainer.$fetch is not a function

I am generating the sitemap dynamically, using the server/api/sitemap/urls.ts, and locally, when build and running node, the sitemap works as it should, fetching everything from the CMS. The problem ...
Carlos Pinto Guedes's user avatar
-1 votes
1 answer
74 views

Does it matter if I have 20 or one components with v-if in my page

Using either Vue/NuxtJS 2 or 3 I have the following situation. I now have modal components in TableViewRow components. Those modals are used to show an edit form for the row's data for example. This ...
Boris Kamp's user avatar
0 votes
1 answer
142 views

popup menu Opens the cursor

Help me to make a popup menu. I can't do it. I don't have time to hover over the menu and it disappears. I have already tried everything, the cursor disappears. It should open and close when hovering ...
JuliaBland299's user avatar
0 votes
1 answer
321 views

create-nuxt-app v5.0.0 + Tailwind UI Error - FATAL Cannot destructure property 'nuxt' of 'this' as it is undefined

I am unable to get create-nuxt-app v5.0.0 with Tailwind running. Steps Ive already taken: I tried to install node v 18.15.0 via NVM I tried adding "@nuxt/kit": "3.2.3", to the ...
chillcoder's user avatar
1 vote
0 answers
123 views

How to use Vue3 like readonly on Vue2

I'm using Nuxt2 and '@nuxtjs/composition-api'. This '@nuxtjs/composition-api' has readonly() function, however this not behave like Vue3 readonly When you use '@nuxtjs/composition-api' readonly, you ...
harunaga's user avatar
  • 385
0 votes
1 answer
121 views

What should be order of life cycles, variables, functions Nuxt Composition API?

I am frontend team member and we are creating web pages together by using Nuxt Composition Api. We want to write clean and well ordered codes together and we don't wanna face with much problems when ...
oktay tontaş's user avatar
1 vote
1 answer
983 views

How to return value from slot? Vuejs

vue-bootstrap has a table whose columns can be set via a template. But the fact is that the data for this template itself is taken from JSON, so I can’t figure out how to make a slot that will return ...
user avatar
1 vote
1 answer
919 views

How to add X(Close button) in v-autocomplete vuetify?

how can I add close button inside v-autocomplete list, so I could be able to close it using the button which is inside it.
Sarwan Nizamani's user avatar
1 vote
1 answer
1k views

Vue3 $attr binds on parent element

I have an Input component like this: <template> <div> <input v-bind="$attrs"/> </div> </template> I want to bind input attributes(like autofocus, ...
Ehsan's user avatar
  • 819
0 votes
0 answers
485 views

How to use Nuxt-child in nuxtjs?

I want to use nuxt-child in my project. Because I don't wanna refresh page whenever a link was clicked on right area. Normally I used nuxt-child in many projects without any mistake, but in this ...
oktay tontaş's user avatar
0 votes
1 answer
554 views

How to get state in Nuxt js with composition api?

setup(){ const columns = computed(()=>store.state['subCategory'].subCategoryColumnsData[subCategoryName.value]); const { fetch } = useFetch(async () => { await store.dispatch('...
oktay tontaş's user avatar
3 votes
1 answer
8k views

How to use microfrontends with Vue/Nuxt?

I wanted to know how to use Microfrontends with Nuxt or at least Vue. Is there a plug & play simple solution to have it working quickly? I've heard about Webpack's v5 ModuleFederationPlugin for ...
kissu's user avatar
  • 47k
3 votes
1 answer
4k views

Nuxt - composition api and watchers

I am trying to watch for some warnings in my component import VueCompositionApi, { watch } from '@vue/composition-api'; import useWarning from '@composables/warnings'; Vue.use(VueCompositionApi); ...
TommyD's user avatar
  • 1,043
2 votes
1 answer
5k views

How to properly use Vuex getters in Nuxt Vue Composition API?

I use @nuxtjs/composition-api(0.15.1), but I faced some problems about accessing Vuex getters in computed(). This is my code in composition API: import { computed, useContext, useFetch, reactive } ...
Ray's user avatar
  • 320
0 votes
1 answer
317 views

How to add relative img path on render in Nuxtjs from markdown?

I'm using nuxt-responsive-loader to have srcset images, When i use <img class="card-img-top" :srcset="require('~/assets/nuxt2.png').srcSet" alt="Sample image" /> ...
niyamxsept's user avatar

15 30 50 per page