Adding Routing to a Vue.js cli 3.0 app

After some experimenting with vue-cli3, i found that you can use vue add to setup components you missed.

Use vue add router That set up the routing and created some sample components Home and About.

This also work for other modules like adding vuetify with vue add vuetify. You can read more about vue add from the plugins and presets guide

Leave a Comment

tech