Hi there,
I’ve been eyeing with directus for some years now but always failed to setup a working prototype for a simple Vue3 website with dynamic pages (thus Nuxt) and directus as the CMS. The goal would be to have dynamic pages created by the owner of the website and dynamic content with pre-created components.
Used versions:
image: directus/directus:12.3.0
@directus/sdk: ^25.0.0
nuxt: ^4.5.2
vue: ^3.5.41
My latest effort in setting up a working prototype is by following this tutorial page of directus for dynamic pages to the teeth:
But I am stuck with an empty (white) page with only the headline “Directus Blog” and no items displayed.
When checking each step several times over, I found that I cannot access directus via my Nuxt URL:
“http://localhost:3000/directus”
In the console I get these errors:
In my Nuxt project, I still see several variables underlined in red (but they would most likely be auto-resolved through Nuxt), but due to uncertainty, it might be an indicator, that something else might be missing.
In the tutorial page, I reached as far as this point:
But did not create separate components yet under:
components/Post.vue
Could you please help me out? I really would like to get this to work, but nothing I ever did could help me get this setup to work.
As additional info:
I know Vue.js, but I am totally new to Nuxt (except for my years of trial to make this setup work with directus from time to time with long breaks in-between).
Either it’s now or never. I am willing to try everything out or give as much feedback as necessary, to make it work - if someone is willing to help me out on this. I really wished for it to work so that I can hope for wonderful and cool projects in the future with directus.
Thank you. ![]()

Thank you for your response! I checked the docker logs and couldn't see any issues or errors there (but I am also not very well versed with docker, either). I strongly suppose it is a problem with the setup of my Nuxt frontend. I will answer in more detail in my next reply on this thread.
– Tobias