enricopolanski
enricopolanski
Explore posts from servers
NNuxt
Created by enricopolanski on 10/8/2024 in #❓・help
What are the main differences between a plugin and a module and when should they be used?
I understand from the documentation that modules are meant to execute asynchronous code at build time, rather than at runtime. But looking at various modules and plugins in the ecosystem I kinda struggle to understand the reasoning in the choice of implementing functionality as a plugin or a module, as often the functionality still seems runtime oriented or they just inject/define plugins anyway
11 replies
NNuxt
Created by enricopolanski on 7/11/2023 in #❓・help
Is there a way to debug _which code_ is changing a `ref`?
Hello I have a watcher on a ref, I noticed that when I change a value of it, after some delay it gets reset to the previous value. I am so far struggling to understand what is changing this value. Any debugging tool I could use?
7 replies
NNuxt
Created by enricopolanski on 5/15/2023 in #❓・help
Custom favicon
Hello, I am attempting to serve different favicon.icos based on some configuration. I am not entirely sure how to do that. I have created a file favicon.ico.ts under the /server folder or /server/routes but so far it doesn't seem to ever be triggered.
3 replies