When we start (serve) demo1, the first page is 'sign-in'. How can we avoid that, and instead have any desired page as the main page, so sign-in was not required?
To disable the authentication from main layout pages you need to remove lines below from onMounted and watch funcions in file vue/demo1/src/layout/Layout.vue.
if (!store.getters.isUserAuthenticated) {
router.push({ name: "sign-in" });
}
store.dispatch(Actions.VERIFY_AUTH);
can you plese tell me how can i do this in Metronics Angular Project Lauris ..
Please add 'meta' ability in router, so we could add: 'authRequired:false' to the routes we want to disable from requiring authentication
We will consider implementing an option to implement it in upcoming releases.