How to disable vue/multi-word-component-names eslint rule for just one .vue file?

In your case, you can replace ‘vue/multi-word-component-names’: ‘off’ with: ‘vue/multi-word-component-names’: [‘error’, { ‘ignores’: [‘default’] }] this will set the rule to ‘allow’ for all files named ‘default’ you can read more about it here: https://eslint.vuejs.org/rules/multi-word-component-names.html

How to run NUXT (npm run dev) with HTTPS in localhost?

HTTPS on local dev – NUXT style Solution is described in NUXT documentation: https://nuxtjs.org/api/configuration-server/#example-using-https-configuration This may be achieved with: Go to project main dir; Create private and public key; openssl genrsa 2048 > server.key chmod 400 server.key openssl req -new -x509 -nodes -sha256 -days 365 -key server.key -out server.crt Add requirements to the top of … Read more

Vuex – Do not mutate vuex store state outside mutation handlers

It could be a bit tricky to use v-model on a piece of state that belongs to Vuex. and you have used v-model on todo.text here: <input class=”edit” type=”text” v-model=”todo.text” v-todo-focus=”todo == editedTodo” @blur=”doneEdit(todo)” @keyup.enter=”doneEdit(todo)” @keyup.esc=”cancelEdit(todo)”> use :value to read value and v-on:input or v-on:change to execute a method that perform the mutation inside an … Read more