All Questions
1,107
questions
0
votes
0
answers
14
views
Performance disadvantages of splitting every component into separate chunks in Nuxt?
So I'm working with Nuxt 2.15 (Vue 2.6). Usually if we have a component that is rendered using v-if (so it is not always needed) we import it like this:
components: {
SideCategory: () => ...
0
votes
1
answer
31
views
Adding attribute to HTML elements to whole code
I'm using Nuxt 2 in my project with Storyblok datasources as translations and e.g. I've:
<span v-text="$t('labels.cartSell')" /> and I need to add something like data-translation="...
0
votes
0
answers
46
views
Detect a blog Post and get the view count with Intersection Observer on the Nuxt app
I want to count the post view on a page of my Nuxt app when user scroll to it .
I have a list of posts on a page and I am using Intersection Observer to count Post views. When a user scrolls to a Post ...
0
votes
0
answers
31
views
Get the Post view count when scroll to a post or view a post vue js?
I have a page listing all the posts one by one. I want to add a count post_view incremented by 1 when the user scrolls to a post or views a post. I am kind of confused about what should be the scroll ...
0
votes
0
answers
32
views
How to dynamically add two v-text-fields to a form when a button is clicked and uniquely identify them
I've seen some posts about how to dynamically add test fields to a form when a button is clicked. like in this post How to add two v-text-fields when I click a button dynamically using vuetify Im not ...
0
votes
0
answers
64
views
Cannot find module in my Nuxt 2 Typescript application: I`m getting error TS2307 when running my Jest tests
I have a Nuxt 2 Typescript application. Everything works well, except for the tests. All test with the .ts suffix fail. The error message looks like this:error TS2307: Cannot find module. It fails to ...
0
votes
0
answers
233
views
Vue component caching with Redis - can not parse component into string
I'm trying to get component caching working in Vue 2 (with Nuxt 2).
Right now we have typical LRU implementation from nuxt-multi-cache but we wanted to transition to using Redis (so that it would be ...
0
votes
0
answers
24
views
Is there way to make language code before route base in Nuxt 2
I have multilingual Nuxt 2 app which working on URI /catalog as separated part. Here is related parts in my nuxt.config.js:
// Router configuration
router: {
base: '/catalog',
},
// Localization
...
0
votes
0
answers
46
views
StripeElementPayment Vue2 adding address element
Hello im trying to add address for already working stripe payment solution, created with vuestripe.com solution, but I cannot fid a way how to implement that.
Somehow it should work with https://...
0
votes
0
answers
24
views
How to Prioritize Meta Descriptions in Nuxt2 Components Over Default Value in nuxt.config.js?
I'm encountering an issue with my Nuxt2 application where I've defined meta descriptions both in individual components and in the nuxt.config.js file. However, when I'm doing a SEMrush scan, the ...
0
votes
0
answers
31
views
Vue JS 2 component not displaying data after using v-if in Nuxt JS 2 project
I'm working in a Nuxt JS 2 project and have built a component called Calculator. This is loaded into my page which contains a HTML table. I have a button in the page that toggles the calculator, the ...
1
vote
0
answers
25
views
Nuxt2: loadingIndicator based on client URL
I have two different client URLs for the same Nuxt2 app. One of these URLs is just an alias, so there are no differences between the two (same environment variables).
How can I have the ...
0
votes
0
answers
109
views
Recaptcha hangs infinitely if you click outside the modal without completing it
I am using Nuxt 2 with the @nuxtjs/recaptcha module on my signup form
Very specifically I am using an invisible v2 recaptcha on the page as mentioned here
When I click outside the modal currently, my ...
0
votes
0
answers
22
views
Send xstate message through vue-kanban module
im struggling with the vue-kanban plugin, which includes xstate and dragula module.
https://github.com/BrockReece/vue-kanban
looking at the stateMachineConfig, which I get activate by adding this as a ...
0
votes
0
answers
99
views
Component output renders incorrectly after running Nuxt production/build
I've got a headless Nuxt 2 (2.17.1) website running in production mode (NODE_ENV=production), which renders a component imported from a package incorrectly.
The problem is that the name of the ...