diff --git a/quasar.conf.js b/quasar.conf.js index 497f6d1..b16d9ea 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -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 }, diff --git a/src/pages/PageTodo.vue b/src/pages/PageTodo.vue index 4ff2140..dd39d6d 100644 --- a/src/pages/PageTodo.vue +++ b/src/pages/PageTodo.vue @@ -50,6 +50,11 @@ export default { }, computed: { ...mapGetters('tasks', ['tasksTodo', 'tasksCompleted']) + }, + mounted () { + this.$root.$on('showAddTask', () => { + this.showAddTask = true + }) } }