10.8 Use Global Event Bus to trigger button event
This commit is contained in:
parent
c110b75c06
commit
4cbf3f043a
@ -76,7 +76,7 @@ module.exports = function (/* ctx */) {
|
|||||||
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
|
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
|
||||||
devServer: {
|
devServer: {
|
||||||
https: false,
|
https: false,
|
||||||
port: 8089,
|
port: 5500,
|
||||||
open: false // opens browser window automatically
|
open: false // opens browser window automatically
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -50,6 +50,11 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters('tasks', ['tasksTodo', 'tasksCompleted'])
|
...mapGetters('tasks', ['tasksTodo', 'tasksCompleted'])
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
|
this.$root.$on('showAddTask', () => {
|
||||||
|
this.showAddTask = true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user