Cue
Cue
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
For example, I often put CSS files in there, and add those files to the nuxt config. Those files may also reference images for backgrounds, fonts, so on. There may be static images I’m using like a logo, etc.
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
Common media, images and font types that you’re explicitly referencing, otherwise referred to as static assets. That is, using the ~/assets/**/[file].[ext] syntax in their expected locations such as an images src attribute, a url CSS directive, so on.
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
If you want to load dynamically, and you know those files will exist, then public is exactly where you want to place them. Importing assets isn’t hacky. It’s hinting to the bundler what files you’re going to be using ahead of time, because bundlers do not evaluate your dynamic URL therefore has no idea what combinations you’re going to throw at it. This is all avoidable with public files.
15 replies
NNuxt
Created by Gabril on 11/15/2024 in #❓・help
Working with types and modules
10 replies
NNuxt
Created by devin schumacher on 11/8/2024 in #❓・help
@nuxt/test-utils.... config hellP
The DOM itself isn’t a runtime environment. But in the context of Nuxt, it is its runtime environment. That’s where the confusion is here.
12 replies
NNuxt
Created by Adnan Erlansyah on 11/11/2024 in #❓・help
How to make middleware auth in nuxtjs3?
You need to @ mention the bot
9 replies
NNuxt
Created by devin schumacher on 11/8/2024 in #❓・help
@nuxt/test-utils.... config hellP
The dom is a runtime environment
12 replies
NNuxt
Created by kogratte on 11/7/2024 in #❓・help
TOO_MANY_REDIRECT - How to track the culprit?
Do you have any middleware? Are you navigating conditionally anywhere? These are often hot spots
13 replies
NNuxt
Created by Vishnu on 11/2/2024 in #❓・help
yt resources for learning vue
Try https://youtube.com/@thealexlichter?si=kLRDGhP2zNjVn1WH, you’re going to enjoy his videos. I also reckon he could take Daniel Roe in a fight.
7 replies
NNuxt
Created by Revaycolizer on 11/2/2024 in #❓・help
My UI won't update even though I successfully receive response
Any reason why you’re using .value in your template?
11 replies
NNuxt
Created by Predator on 10/30/2024 in #❓・help
Configure VS Code
7 replies
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
Could you possibly upgrade to latest (8.5.5)? I suspect the older versions are augmenting "@vue/runtime-core" instead of "vue" which leads to these issues.
26 replies
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
What version of i18n?
26 replies
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
@Reeed could you provide a list of modules you have installed in your Nuxt config?
26 replies
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
Are you using Vue Official extension? If so what version?
26 replies
NNuxt
Created by αℓєχ3025 on 10/21/2024 in #❓・help
Disabling alias "absolute path" import warning
Have you tried using node’s path module to point to the directory?
5 replies
NNuxt
Created by αℓєχ3025 on 10/21/2024 in #❓・help
Disabling alias "absolute path" import warning
I don’t think all warnings are designed to be ignored. Is this an alias you’ve configured yourself and is there any reason you cannot point it to an absolute path?
5 replies
NNuxt
Created by plechelmus on 10/19/2024 in #❓・help
Unable to preload CSS errors
Because the usual suspect is requests of outdated styles cached from previous deploys.
4 replies
NNuxt
Created by plechelmus on 10/19/2024 in #❓・help
Unable to preload CSS errors
Do the dates of these logs coincide with deploy dates?
4 replies