Luca
GSAP Nuxt Module - Packages Installation Problem
Hello!
I recently created the GSAP module that you can find here: https://github.com/LucaArgentieri/gsap-nuxt-module
Now I would like to add the possibility of using the gsap club plugins for all users who have purchased the license and have the token.
The difficulty I’m having is to install a different package according to the user’s role, here the documentation: https://gsap.com/docs/v3/Installation/guides/Netlify
What I’ve done is this:
Created .npmrc:
I have added the possibility to choose your role of gsap
And I created a function to install a different package depending on the role :
Is there a better way to manage this installation?
Branch: https://github.com/LucaArgentieri/gsap-nuxt-module/tree/fe/gsap-club-plugins
55 replies
Nuxt Sanity Module - disableSmartCdn is working?
I have a nuxt project with useCdn: true (and dynamic pages in isr: true) and when I'm in Preview Mode (/my-url?preview=true) I need the fresh data (like drafts) to show it in the preview iframe on sanity studio.
The problem is that the data is always from CDN (so old data).
I saw on the docs that the module has disableSmartCdn by default (that is my case), so I don't know if I'm doing wrong or what
It is like the preview mode is not recognized:
Docs link: https://sanity.nuxtjs.org/getting-started/configuration#disablesmartcdn
1 replies
Vimeo not working when come back on page
Hi!
I’m trying to show a vimeo video ( video file link ) inside a video tag.
The video is on the home page and works, the moment I go to about and then back to home the video does not work anymore and does not give me any error.
Has it happened to anyone? Do you know how to fix it?
1 replies
Nuxt3 deploy static and update content without webhooks
Hi! I have some problem understanding how to deploy a static site on netlify that update pages only if the content is changed.
Without the use of webhooks, like isg or isr?
(The build time is too long)
Should I use ssr with yarn build command?
I'm using nuxt3 + sanity -> netlify
Can you explain it to me?
1 replies
Nuxt Layer installation (Exit code: 127)
Hi! I created a nuxt layer for my components library (it is a npm package)
When I try to install it (in my nuxt frontend) throw me this error:
Command failed.
Exit code: 127
Command: nuxt prepare .playground
Arguments:
I need to setup something?
It is a problem related with some package?
1 replies