Nuxt Content 3 and docus elements
Download and serve NuxtImg's from /public folder when generating with SSR true
NuxtContent 3, how to change data inside script setup
``javascript
const { data: tabs } = await useAsyncData(
usecases`, () => {
return queryCollection('usecases').all()
})...Cant make any logger work in a clean nuxt application
Cant assign `href` to `UButton` or `ULink`
href
attribute to UButton
component, then i checked it out which is uses ULink
underline. I tried on it as well but it doesnt render it as well (want to disable spa navigation to spesific pages)
```html
<u-button
href="/login"...
Running `npx nuxi dev` will empty my `.output/public` folder
npx nuxi build
my .output/public
gets filled with my production data. But whenever I run npx nuxi dev
and open the dev web, the public folder of .output gets emptied.
```
root@Ubuntu # ls -la .output/public
total 52...Fixed column width in Nuxt UI UTable
Empty Nitro cache on Vercel deployment
cache.removeItem('nitro:handlers:......)
PS: I use KV for storage.
Any idea?...Cannot create new nuxt? Error with requested module 'db0'
npx nuxi@latest init testproject
After nuxt prepare
, it errors out with The requested module 'db0' does not provide an export named 'connectors'
...Deploying Nuxt which has server/api functions to vercel and make them able to load files
./server/api/mdx.ts
which is responsible for loading a file when requested i tried loading using fs which resulted in errors because the server functions run in a separate enviroment on vercel. then after searching around a bit i decided to have a nitro asset setup like this:
nuxt.config.ts:
```ts
// the rest of nuxt setup
nitro: {..."#build/nuxt.config.mjs" is not defined
Package import specifier "#build/nuxt.config.mjs" is not defined in package /node_modules/nuxt/package.json imported from /node_modules/nuxt/dist/app/nuxt.js
.
I've tried mocking the file or adding it as an alias in the vitest config but it's not working. Any idea on how to fix it?...Hard reload + useAsyncData = No data – Why?
template
always null
on hard reload but I do have a value when navigating between pages?
``js
const { data: template } = await useAsyncData(
campaignTemplateWithId${supabaseTemplateId}`, async (): Promise<Tables<'campaign_template'>> => {
return await useCampaignTemplate().getTemplateById(supabaseTemplateId)...Nuxt Content's 3 SQLite not working inside docker.
Accessing headers when using $fetch
Can not host nuxt app in local network
npm run dev -- --host
. Nuxt acts like the --host argument is not there. I do not get the QR-Code like usual and it still tells me "use --host to expose"How to make internalization languages in NuxtJS 3?
How to create custom text content transformer for Nuxt content v3?
How to add blog post to sitemap.xml with Nuxt Content v3 ?
Nuxt 3 Firebase error on SSR

Access CSS Variables?
:root
. In my <style scoped>
tags in components, these colors are not working, even though other parts of the main.css file are. (I've had it work in another project, and I can't figure out what I was doing differently there.)
Minimal repoduction: https://stackblitz.com/edit/github-ed9uy1jz?file=assets%2Fmain.css...