Skip to content

requested module '/node_modules/.vite/deps/vue-router.js?v=85d94ed7' does not provide an export named 'default' #1952

Closed Answered by posva
hulzzz asked this question in Help and Questions
Discussion options

You must be logged in to vote
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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@posva
Comment options

Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants