Use "~" as a route namespace symbol

This commit is contained in:
Maxim Filippov 2018-12-10 01:21:52 +03:00
parent 3d968e31da
commit ae8f0f36d8
9 changed files with 1321 additions and 663 deletions

View file

@ -11,7 +11,7 @@ const oac = {
}).then((result) => {
this.$store.commit('setToken', result.access_token)
this.$store.dispatch('loginUser', result.access_token)
this.$router.push('/p/main/friends')
this.$router.push('/~/main/friends')
})
}
}