Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Extension doesn't work when nuxt project is in a sub folder of the workspace #49

Open
Labels
bugSomething isn't working
@MartinTruRating

Description

@MartinTruRating

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

image

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:
image

Nuxtr isn't available in the sidebar or command pallete

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp