Difference between revisions of "VueJs Routing"

From rbachwiki
Jump to navigation Jump to search
Line 2: Line 2:
  npm install --save vue-router
  npm install --save vue-router


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


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

Revision as of 18:08, 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

Category/ Programming