Skip to content

Tag: nuxt.js

Force Nuxt to run script tag

I have a script on a page: If I go to the page via a NuxtLink in the navigation the script runs, however if I type the URL to the browser address bar it doesn’t. Is there a way to force the NuxtLink result when the page is accessed directly? The script tag is coming from a CMS so there

NuxtJS how to reload asyncData with emit

I would like to know if it is possible to reload asyncData in an emit in a function like this Page component-child Is it possible? Otherwise how to do it? Answer You can try this.$nuxt.refresh() to refresh fetch() or asyncData() hooks. As explained in the documentation: https://nuxtjs.org/docs/2.x/concepts/co…

How to use owl carousel in Nuxt?

I want to make script work on every page without that these page need loaded; I have owl caroussel script on my static folder, and i already put it in nuxt.config.js, here how i put it: And there is the script on my main-script.js: The caroussel work well on the page if the page is loaded, but if it come

Three.js webglrenderer.render issue

I’m developing a site with three.js and Nuxt.js. When i try to use the EffectComposer, the console give me a lot of warnings like this: three.webglrenderer.render(): the rendertarget argument has been removed. use .setrendertarget() instead. In my case, I understand that it’s an issue with the new…