nathanr
Failed to fetch urls with sitemap.xml
I am getting the following error when trying to get all valid urls for my webapp.
[@nuxtjs/sitemap] Failed to fetch source. { url: 'https://api.kingsburyandpartners.ae/sitemap/urls.json',
error:
{ FetchError: [GET] "https://api.kingsburyandpartners.ae/sitemap/urls.json": <no response> fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
38 replies
Migrating Tailwind to Nuxt v3
Hi all, I am trying to move to the new Nuxt UI v3 but all my tailwind styling has broken, what is the correct way to use tailwind as this guide https://tailwindcss.nuxtjs.org/getting-started/installation is saying ./tailwind.config.js is required, but when upgrading tailwind (https://ui.nuxt.com/getting-started/migration), that file gets deleted and moved to a main.css?
79 replies
Setting Up An Article Based Website Using Nuxt Content
Hi all,
Has anyone managed to set up a Nuxt3 content site?
I believe I have done all the steps correctly:
- Added module to nuxt.config.ts
- Added basic content.config.ts
- Page file structure is pages -> articles -> index.vue & [slug].vue
- Created content folder which is content -> articles -> *.md files.
It seems that when I use the following code
const { data: article } = await useAsyncData(() =>
queryCollection('articles').where({ _path:
${slug} }).findOne()
)
I get nothing, any help will be much appreciated!6 replies