Vue-router reported an error

"export "default" (imported as "router") was not found in "./router"

vue-router has been reporting errors these days

once suspected that there was something wrong with this version of router

Aug.17,2021

if you don't need routes, you can replace const reoutes = new VueRouter with export default new VueRouter


from your second picture, you should not add export default routes


first of all, you can't get your js because you didn't export it using const router. You want export const router


you don't look at the code?
Vue.use (Router)?
the landlord clearly uses VueRouter.


has the problem been solved?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37c41-2c0d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37c41-2c0d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?