Vue Cheatsheet

Sample Vue Component


```js

Vue.component("todo",{ template: ` <div class="todo"> {{ title }} </div> `, data (){ }, methods: { } })

```

Enable console in vue-cli


Make this modification to your package.json file, under "eslintConfig":

json "rules": { "no-console": "off" }

Or simply use:

js window.console(args)