Cue
Cue
NNuxt
Created by This is War Huh Wow on 1/10/2025 in #❓・help
Nuxt generated tsconfig point outside of project and language server crashes out of memory
You’ll want to mention the bot for a response
12 replies
NNuxt
Created by Zyme on 1/10/2025 in #❓・help
defineNuxtRouteMiddleware not working
Not a bug then 👀
16 replies
NNuxt
Created by JuanMCe on 1/7/2025 in #❓・help
external library overriding component scoped classes in style
I’m not sure how scoped styles can be treated as global. Sounds like the other way round, the styles from external lib are interfering with your scoped styles.
8 replies
NNuxt
Created by 23brewert on 12/15/2024 in #❓・help
$fetch sends a HTTP request from both client and server?
Please provide some code example. $fetch wouldn’t make a request server side if based on an action on the client side, unless it’s incorrectly implemented.
5 replies
NNuxt
Created by Nove [876 Gaming] on 12/15/2024 in #❓・help
Navigate to component in VSC
Regarding intellisense, there’s many reasons why things stop working or appear not to work, from a mixture of regen of type definitions, to Volar being temperamental. It’s why I also have vscode shortcut to reload the window because I find myself doing this often.
8 replies
NNuxt
Created by Nove [876 Gaming] on 12/15/2024 in #❓・help
Navigate to component in VSC
8 replies
NNuxt
Created by bnason on 12/9/2024 in #❓・help
`#shared` types. Failed to resolve extends base type.
I've run into this issue since this feature was first released. Hard to tell if this is a bug or a known limitation of vue. However, for now, I'm just importing these directly from '#shared'
10 replies
NNuxt
Created by Tackleberry on 12/3/2024 in #❓・help
Typescript linting?
What’s the typescript version?
16 replies
NNuxt
Created by kāné on 11/29/2024 in #❓・help
Issue with Vue 3 + Nuxt 3 useFetch Data Not Displaying in Template
When you use data.value in template, you will lose reactivity. Refs are unwrapped in template, so why not just use data.title etc?
6 replies
NNuxt
Created by Michi on 11/29/2024 in #❓・help
i18n not working in single export default functions
Mind sharing an example of what this export might look like?
5 replies
NNuxt
Created by Ponkhy on 11/25/2024 in #❓・help
useFetch doesn't send new query
By doing selectedTypes.value inside query, you’ve instantly lost reactivity.
10 replies
NNuxt
Created by Ponkhy on 11/25/2024 in #❓・help
useFetch doesn't send new query
Either pass reactive data to the query, or pass selectedTypeIds to watch that will re-trigger the fetch on change.
10 replies
NNuxt
Created by Ponkhy on 11/25/2024 in #❓・help
useFetch doesn't send new query
Because you went from static values to reactive values through computed.
10 replies
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