devtools icon indicating copy to clipboard operation
devtools copied to clipboard

fix: Enable Pages from DevTools for Nuxt 4

Open sosensible opened this issue 1 year ago â€ĸ 2 comments

🐛 The bug

The pages directory was created in the project root, vs the UI root (app).

đŸ› ī¸ To reproduce

n/a in dev ATM

🌈 Expected behavior

Set the compatibility in nuxt.config.ts file.

future: { compatibilityVersion: 4 },

Create the app/pages folder & files. Update the app.vue file. Refresh running pages.

â„šī¸ Additional context

No response

sosensible avatar Sep 20 '24 20:09 sosensible

image

sosensible avatar Sep 26 '24 22:09 sosensible

Correction. If the app folder exists, and the App.vue file is nested in the folder it works as expected.

sosensible avatar Sep 26 '24 22:09 sosensible