vue 3 router setup code example
Example 1: install vue router
npm install vue-router
Example 2: install vue router
cd [project]
npm install --save vue-router // install only on the project that we are in
Example 3: setup vue router
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)