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...hub
custom `name` parameter for Nitro `defineCachedEventHandler()`
code being executed when running npm run build
usetoast callback when toast clears
useToast and creating a dynamic toast with toast.add is it possible to have a callback that triggers a function when the dynamically created toast clears?Deploying to Cloudflare - cant see /manifest.json
ssr: false because were going on cloudflare, ive got my manifest.json in root public directory. it works locally.
cf is built with npm run generate and told to serve from dist - but i get a 404 on the manifest.
reasonably simple project:...auth for specific routes
<ClientOnly> vs .client.vue
Redirect 404 pages from a middleware
Important! Can Sanity documents be used to generate and manage Nuxt Pages?