Zack Plauché
Explore posts from serversuseCookie typescript saying that Boolean should be a string, when it's a boolean
I have code that does:
Problem is,
isLoggedIn.value
actually returns a Boolean
, not a string like TypeScript thinks 🙂 So looks like something might be wrong with the docs for this 👀
How to fix it?
Literally this works:
But typescript says it's wrong.2 replies
Public Images breaking on Hot Reload (latest nuxt version, literally today's project)
Created a project and have 2 image tags pointing to public. Everytime I make a change and save (hot reload) it breaks and it makes the little image not found icon.
Nothing crazy.
Is there a known solution to this issue?
2 replies
Every single time you guys try to charge my card automatically it says it was unsuccessful...
I have to go to the website and make the payment directly otherwise you shut down my service. I don't want to think about if my website is up and running! Please fix your autorenewal charging function!
6 replies
`window is not defined` and `document is not defined`
I'm getting window is not defined, and document is not defined. I'm using one in a composable and another in a view.
I understand it has to do with server vs client side, and it's only an issue when my server reloads after I add it on the page. Otherwise it works.
How do I make my composable / component "client side"?
3 replies
How to sleep a Web Server or Database?
Just migrated from Heroku.
I'm wanting to see how to not use accounts resources more than I need to on unimportant projects.
Is there a way to somehow "sleep" a project and it's database to make it's projected cost zero?
Or do I just have to delete it completely?
4 replies