Skip to content

vuetifyStylesPlugin: unable to transform styles when importing with extended nuxt app #289

Open
@ar45

Description

@ar45

I'm having trouble with a pnpm workspace where both have vuetify and have slightly different dependencies, the vuetifyBase does not match so the vuetifyStylesPlugin does not work correctly.

const vuetifyBase = resolveVuetifyBase()

isSubdir(vuetifyBase, path.isAbsolute(source) ? source : importer) == false

vuetifyBase = "/PROJECT_DIR/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/vuetify"

importer = "/PROJECT_DIR/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs?v=e67783cb"

Any way to make it less restrictive the base should be checking just from node_modules? etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions