requested module '/node_modules/.vite/deps/vue-router.js?v=85d94ed7' does not provide an export named 'default' #1952
-
Using vue for the first time, how to solve this problem |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Aug 7, 2023
Replies: 1 comment 1 reply
-
import { createRouter } from 'vue-router' There is no longer a default export in Vue Router but the docs are still showing a CDN approach: #829 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no longer a default export in Vue Router but the docs are still showing a CDN approach: #829