





Vue Js – How to setup roles in your application
If you have Vue.js and Vuex installed, you should see a router.js file in the main folder. Open it and add this code in it(Modify the routes as required of course):
const router = new Router({
mode: 'history',
routes: [
//ADMIN
{
path:…