NuxtN
Nuxt8mo ago
9 replies
() => "CodingBill";

app dir nuxt 4

Hello there, i got to go on nuxt 4 for my next task.
Well i got some issues with the app directory : instead of displaying "hello world", it display the nuxt welcome page, i guess my app directory did not get detected by nuxt.

here's my config :
export default defineNuxtConfig({
  future: {
    compatibilityVersion: 4,
  },
  srcDir: 'src/',
  appDir: 'src/app',
  serverDir: 'src/server',
})

My folder structure is in the image below.
image.png
Was this page helpful?