2👍
Make sure that you specified TypeScript in the script
tag
<script lang="ts">
...
</script>
- [Vuejs]-Vue2: changing data property of child component based on a prop from a parent component
- [Vuejs]-How to assign default value of checkbox in vue
0👍
default
is a preserved keyword in vue, try with something else., even in js it should be used inside switch case to return something or for exporting data
- [Vuejs]-Vue.js – How to capture a URL parameter as a hidden input value
- [Vuejs]-How to add a path to webpack config?
- [Vuejs]-How to trigger modals conditionally with vue.js
- [Vuejs]-Vue-router transition suddenly stopped working
Source:stackexchange.com