FoxCode
FoxCode
NNuxt
Created by FoxCode on 6/18/2024 in #❓・help
How to make only one request when website build
Yeah, I know about rate limit, but I want to make only one request, but nuxt plugin on generate runs each time while prerendering each page individually, I just want to get the data once and save it to a variable and then use it in navigation as a static variable on static website
3 replies
NNuxt
Created by FoxCode on 6/10/2024 in #❓・help
OnMounted twice
I fixed it with :key, like this: <NuxtPage :key="$route.fullPath"/>
2 replies
NNuxt
Created by David on 6/4/2024 in #❓・help
[Content Module]: Infinite page loading when using ProseUl with documentDriven set to true
some console errors?
7 replies
NNuxt
Created by David on 6/4/2024 in #❓・help
[Content Module]: Infinite page loading when using ProseUl with documentDriven set to true
Hey, check this issue: https://github.com/nuxt-modules/icon/issues/157 maybe its connected - remove nuxt-icon and try it again
7 replies
NNuxt
Created by 4ngel🍁 on 5/13/2024 in #❓・help
Nuxt development website freezes in browser and uses up ~20% of cpu in browser
nuxt/ui have "nuxt-icon" module which is broken (at least in my case it was)
7 replies
NNuxt
Created by FoxCode on 3/10/2023 in #❓・help
Reduce unused javascript (nuxt)
No, I just ignored it, now I wish that my biggest problem was unused javascript 😅
30 replies
NNuxt
Created by FoxCode on 5/6/2024 in #❓・help
Cannot use <slot> inside component
update: its nuxt-icon module fault, new version fixes it but nuxt-ui doesn't have it yet
4 replies
NNuxt
Created by FoxCode on 5/6/2024 in #❓・help
How to use new nuxt-icon with nuxt-ui
The reason why I want to do it: https://github.com/nuxt-modules/icon/issues/157 if there is a workaround I would also use it
7 replies
NNuxt
Created by FoxCode on 5/6/2024 in #❓・help
Cannot use <slot> inside component
Problem is related to /runtime-core.esm-bundler
if (!!(process.env.NODE_ENV !== "production") && true) {
PublicInstanceProxyHandlers.ownKeys = (target) => {
// warn$1(
// `Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`
// );
// return Reflect.ownKeys(target);
return false
};
}
if (!!(process.env.NODE_ENV !== "production") && true) {
PublicInstanceProxyHandlers.ownKeys = (target) => {
// warn$1(
// `Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`
// );
// return Reflect.ownKeys(target);
return false
};
}
commenting this code makes the application work properly
4 replies