Difference between revisions of "VueJs Routing"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
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]]<br> | ||
Main [[app.vue File]] | Main [[app.vue File]] <br> | ||
Links created in the [[Header.js File]] <br> | Links created in the [[Header.js File]] <br> | ||
[[VueJs|Category]]/ [[Programming]] | [[VueJs|Category]]/ [[Programming]] |
Revision as of 23:14, 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
Links created in the Header.js File