can i add a line warp to a tooltip
\n
and <b />
to the string but it doesn't workCSS modules with Tailwind 4
@reference
from Tailwind, and it is still not working :
```html...trying to use the world-countries package but i get this error
Is it possible to make the useAsyncData composable delay page rendering until the data is loaded
Nuxt I18n `t()` in shared folder for validation messages?
shared/types/login.ts
file with a validator schema definition for a login request type. How would I localize validator error messages?Tooltip on tab trigger?
Theme picker a usable component?
nuxt security module allow iframe for nuxt studio preview display to work
Types added via module
declare module 'nitropack'
I guess because they are overriding/extending something exposed in nitro. In my case, if I just want the type to be discoverable (both within the module and outside it), do I use declare 'global'
or what?
I see my nuxt.d.ts and it has the /// <reference path="types/my-module.d.ts" />
there, but the types I declare there are not found in my app. I did see a comment from Daniel saying that TS types aren't Autoimportable by design, so maybe I am barking up the wrong tree or my approach is not correct.
Can anyone point me to somewhere I can go to better understand this stuff? I feel like such a luddite when it comes to TS and these types of issues don't help....setup nuxt studio
htmlAttrs.lang not working
nuxt.config.ts
, I’m setting the HTML lang="fr"
attribute like this:
```ts...How to call server APIs from unit/e2e test?
useFetch
, $fetch
, etc... Ideally I want to test exactly what those functions do instead of making isolated $fetch
calls, but I can't figure out how to setup the server or how to mock the functions that call its endpoints.
So far I have @nuxt/test-utils/e2e
setup to make calls to a dev server I run separately with my test database. The problem lies in wanting to make my composables talk to that server, as by default it'll just try to make calls to /api/blabla...
without a base URL.
Is there a better way to do this without needing to refactor too much code, or am I just missing a small piece here? Thanks a lot...
Understanding useSession behavior in Nuxt with Better-Auth and NuxtUI
Cant acces nested page with i18n and custom route name
Get DOM-Element from Nuxt-UI elements
<UInput ref='refInput'/>
and wich type has refInput = ref<>(null)
?nuxt ui icons local bundle do i also need to install the icon library locally?
Client Lazy Data Fetching
const { status, data: posts } = await useFetch('/api/posts', {
lazy: true
})
and useFetch without await?...How to use Lazy component with render function
h
```js
import {
LazyComponent...