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
|
||||
devServer: {
|
||||
https: false,
|
||||
port: 8089,
|
||||
port: 5500,
|
||||
open: false // opens browser window automatically
|
||||
},
|
||||
|
||||
|
@ -50,6 +50,11 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters('tasks', ['tasksTodo', 'tasksCompleted'])
|
||||
},
|
||||
mounted () {
|
||||
this.$root.$on('showAddTask', () => {
|
||||
this.showAddTask = true
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user