Zack Plauché
Explore posts from serversMight be a Tailwind question, but... somehow my Google Fonts are working without adding any <link>s
I have the
@nuxtjs/tailwindcss
plugin on my nuxt 3 project.
I normally add fonts via Google Fonts by getting the links and installing them.
I have tailwind typography added as well.
However, I don't see anything in the Tailwind docs saying that the fonts are included.
I also don't see any Google fonts in the links / script tags.
How could this be?
Works in both Chromium and Firefox2 replies
Init new Nuxt project without "Initialize git repository" check?
Is there a way to do this?
I have my new project command so far as:
And that does almost everything I need to create a new project. I NEVER initialize a git repo in my frontend folder (typically monorepos with separate backend).
Isn't there some flag to make this not a thing? Personally I think it should be initialized without it anyways.
3 replies
useCookie 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