請問要如何修改
Failed to resolve component: datetime
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at
可是我已經npm install datetime
App.vue內容 date也有錯誤
Property "date" was accessed during render but is not defined on instance.
at
<input type="checkbox" class="checkbox" />
<h4>離場起始時間</h4>
<datetime v-model="date" input-id="startDate">
<input type="datetime-local" v-model="value2" />
</datetime>
</div>
<div class="block-right">
<h4>進場結束時間</h4>
<datetime v-model="date" input-id="startDate">
<input type="datetime-local" v-model="value3" />
</datetime>
<h4>離場結束時間</h4>
<datetime v-model="date" input-id="startDate">
<input type="datetime-local" v-model="value4" />
</datetime>
</div>
<div class="gwee">
<button @click="search">搜尋</button>
<button @click="cancel">取消</button>
</div>