Difference between revisions of "VueJs Routing"

From rbachwiki
Jump to navigation Jump to search
Line 3: Line 3:


Import Router into [[main.js File]]<br>
Import Router into [[main.js File]]<br>
 
Routes are are stored in [[routes.js File]]<br>
Routes are are stored in [[routes.js File]]
Main [[app.vue File]]


[[VueJs|Category]]/ [[Programming]]
[[VueJs|Category]]/ [[Programming]]

Revision as of 19:00, 17 October 2018

CD into directory

npm install --save vue-router

Import Router into main.js File
Routes are are stored in routes.js File
Main app.vue File

Category/ Programming