Here is the structure of my Vue component :
<template>
<select class="form-control" v-model="selected" :required @change="changeLocation">
<option :selected>Choose Province</option>
<option v-for="option in options" v-bind:value="option.id" >{{ option.name }}</option>
</select>
</template>
I have used
<option :selected>Choose Province</option>
for selection purposes
However, when I run it with gulp watch, an error occurs
The error message reads as follows :
ERROR in ./~/vue-loader/lib/template-compiler.js?id=data-v-53777228!./~/vue-load er/lib/selector.js?type=template&index=0!./resources/assets/js/components/bootst rap/LocationBsSelect.vue Module build failed: SyntaxError: Unexpected token (28:4)
It appears that I might have made a mistake somewhere
How can I resolve this issue?