- Notifications
You must be signed in to change notification settings - Fork22
Open
Description
Environment
Nuxt project info:
- Operating System: Windows_NT
- Node Version: v20.5.1
- Nuxt Version: 3.7.0
- CLI Version: 3.7.2
- Nitro Version: 2.6.2
- Package Manager: yarn@4.0.0-rc.43
- Builder: -
- User Config: app, devServer, devtools, telemetry, typescript, sourcemap, runtimeConfig, modules, i18n, device, pinia, googleFonts, imports, css, build, vite
- Runtime Modules: @nuxtjs/i18n@8.0.0-rc.3, @nuxt/ui@2.8.1-28248232.e404912, @pinia/nuxt@0.4.11, @nuxtjs/device@3.1.0, @nuxtjs/google-fonts@3.0.2
- Build Modules: -
What went wrong?
I was trying to use nuxtr when my nuxt project lives within a subfolder within the workspace (ie/src). But it cannot find it (see below
Is there a config setting that allows it to set the root dir of nuxtr so it can then pick everything up and work?
I tried using the monorepoDirectoryName config setting set to/src which enabled the extension and worked for things like creating components/stores etc but didn't for installing deps because it was trying to use the workspace root which is correct for a monorepo setup.
How to reproduce it?
Install nuxt into a subfolder structure like this:
Nuxtr isn't available in the sidebar or command pallete
