Dan
Dan
NNuxt
Created by Dan on 9/19/2024 in #❓・help
useAsyncData render initial page loader in SPA
Resolved this. I ended up using the spa-loading-template I initially tried this approach but didn't realize the following issue existed https://github.com/nuxt/nuxt/issues/21721 . Using the approach here I was able to get the intended effect.
2 replies
NNuxt
Created by Titan on 4/7/2024 in #❓・help
Supress <Suspense> warning, adds lots of console logs in tests
Scratch that, found it
export default defineVitestConfig({
test: {
...
onConsoleLog(log: string) {
if (
log.includes(
'<Suspense> is an experimental feature and its API will likely change.'
)
)
return false;
},
...
}
});
export default defineVitestConfig({
test: {
...
onConsoleLog(log: string) {
if (
log.includes(
'<Suspense> is an experimental feature and its API will likely change.'
)
)
return false;
},
...
}
});
7 replies
NNuxt
Created by Titan on 4/7/2024 in #❓・help
Supress <Suspense> warning, adds lots of console logs in tests
Was this issue ever resolved? Failing to get this working in the context of nuxt.
7 replies