What is the name of the domain?
What is the error number?
404
What is the error message?
Page not found
What is the issue you’re encountering
Despite Successful deploy a nuxt application no page is found despite working in local
What steps have you taken to resolve the issue?
Many post report a similar error with a deployment without issues but a 404 error when they visit the page. The solution is to use a index.html file at the root - but Im using vue / nuxt and there ARENT ANY.
No other solutions are provided.
This is my nuxt config file:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
ssr: true,
nitro: {
preset: "cloudflare-pages",
},
modules: [
"nitro-cloudflare-dev",
"@nuxtjs/tailwindcss",
"@nuxt/image",
"@pinia/nuxt",
"@nuxtjs/device"
]
})
What are the steps to reproduce the issue?
Honestly I dont have a clue, i deploy another application in nuxt in cloudflare page. Same modules, same components but no error there