Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using nuxt-directus with a static Nuxt site #169

Closed
miket2marcom opened this issue Jul 13, 2023 · 1 comment
Closed

Using nuxt-directus with a static Nuxt site #169

miket2marcom opened this issue Jul 13, 2023 · 1 comment
Labels
question Further information is requested

Comments

@miket2marcom
Copy link

Hi,

We use nuxt-directus on a number of our Nuxt sites with Directus backends, and it's a great package.

Our Nuxt sites are fully static - generated with npx nuxi generate - and the behavior of these sites with nuxt-directus is not exactly what we are expecting. The other day, we had an issue where one of our Directus cloud backends went down for a few hours, and during this time, the site's pages were not loading.

How do we configure this so that, upon build time, all content is pulled from Directus and put into the static site? The idea here is for the generated static site to be fully independent of anything that's going on with the Directus backend. Basically we'd like our static builds to remain immutable, with all Directus content "inline", unless and until we trigger a new build for future updates/changes.

Thanks for your help here,
Mike

@miket2marcom miket2marcom added the question Further information is requested label Jul 13, 2023
@Intevel
Copy link
Owner

Intevel commented Jul 13, 2023

Hey @miket2marcom, checkout this Issue here: #81

Repository owner locked and limited conversation to collaborators Jul 13, 2023
@Intevel Intevel converted this issue into discussion #170 Jul 13, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants