[Vuejs]-Vue :page don't display after add router-link

0👍

You need to load and register VueRouter to be able to use its components.

import VueRouter from "vue-router";
Vue.use(VueRouter)

0👍

This means your vue-router version is too high.

Just reinstall a lower version:

npm install vue-router@3.2.0

Then re-run:

npm run serve

Leave a comment