Problem with deploying a nuxt site on render

Hi
Trying to deploying static nuxt 2 site with

npm run build && npm run generate
dist

tried ./dist also
But every time see error 404 and “Not found” text

nuxt.config:

target: ‘static’,
ssr: true

What should I do? :frowning:

Hi there,

Most HTTP 404 Not Found errors on Static Sites are due to an improper redirect/rewrite configuration. I recommend reading through our docs on redirects and rewrites and seeing if that clears up the problem.

Let us know if you have any further questions.

Regards,
Mike


Render Support Engineer, MT (UTC-6)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.