Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ar45 opened this issue Nov 20, 2024 · 0 comments

Comments

@ar45
Copy link

ar45 commented Nov 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant