MrDeer
MrDeer
Explore posts from servers
NNuxt
Created by MrDeer on 6/13/2024 in #❓・help
How to use useState with functions inside
Like this for example:
setHeader({
secondary: {
click: () => navigateTo('/');
}
})
setHeader({
secondary: {
click: () => navigateTo('/');
}
})
6 replies
NNuxt
Created by MrDeer on 6/13/2024 in #❓・help
How to use useState with functions inside
of course, try setting click to function and render it on ssr. it will fail, because useState cant hold functions in state
6 replies
NNuxt
Created by Jure on 12/17/2022 in #❓・help
ESLint required dependencies
just install typescript as dev-dependency
11 replies