Open LuXDAmore opened 10 months ago
Do you have set srcDir
? That's maybe why it fails
@victorgarciaesgi Why i have to set it? It's not using the same as Nuxt?
With this command i'm automatically setting the rootDir (see HERE):
nuxi dev ./src -o
Otherwise, with which value should i set it?
Yeah i'm talking about the nuxt one! I'm using it. Are the types working even if the message appears?
@victorgarciaesgi My nuxt.config.ts
file is already inside the /src
folder: /src/nuxt.config.ts
And the types seems working
I get this warn too
I'm still getting this with v3.7.0
, everything seems to be working fine regardless.
Describe the bug
Running command
nuxi dev ./src -o
cause the warningNo routes defined. Check if your pages folder exists
, but my pages folder exist. And also the messageRouter autocompletions generated
appear in the console, so I'm not sure about what's happeningExpected behavior
To just have the message
✔ Router autocompletions generated
Screenshots
Environnement infos
Folders: I'm running the project in a folder called
backoffice
, containing ansrc
folder with the nuxt application inside.The
package.json
is in thebackoffice
folder. The.nuxt
folder is in thebackoffice/src
folder.Your
pages
folder structureRun
npx tree-node-cli {your page folder path}
Your nuxt.config.ts