fixed webpack prod, fixed language prefix negociation in vue-router
This commit is contained in:
@@ -43,9 +43,11 @@ import 'theme/assets/styles/main.scss'
|
||||
router,
|
||||
el: '#block-sitebranding',
|
||||
methods: {
|
||||
onclick(){
|
||||
console.log("Clicked on logo");
|
||||
this.$router.push({name:'home'})
|
||||
onclick(event){
|
||||
// console.log("Clicked on logo event", event);
|
||||
let href = event.target.getAttribute('href');
|
||||
// console.log("Clicked on logo href", href);
|
||||
this.$router.push(href)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user