-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Not working with yarn PnP #118
Comments
I don’t use pnp so any help for this is welcome! |
UPDATE: there is a work around Edit the packageExtensions:
unplugin-vue-router@*:
dependencies:
"@vue/compiler-sfc": "*" |
So I ran into the same issue but found the import statement needed work. I am using yarn berry currently version 3.5.1. The following change was sufficient. -import { createRouter, createWebHistory } from 'vue-router/auto'
+import { createRouter, createWebHistory } from 'vue-router-auto' |
I also got the same issue. Node 20.11.1+ Yarn 3.8.1 + pnp ❌ |
I think this should be fine after the changes to vue-router and this package. If not, let me know with a boiled down reproduction |
When I attempt to load a new project using yarn pnp I get this lovely error
once I set yarn to use node-modules instead of the new pnp api it works just fine
The text was updated successfully, but these errors were encountered: