我正在尝试使用vue-datetime-picker。
<vue-datetime-picker class="vue-picker4" name="picker4"
:model.sync="result4"
type="time"
language="en-IN"
time-format="LT">
</vue-datetime-picker>
import VueDatetimePicker from "vue-datetime-picker";
components: {
"vue-datetime-picker": VueDatetimePicker
}
但我仍然遇到错误。
vue.js?3de6:525 [Vue warn]: Failed to mount component: template or render function not defined.
(found in component <vue-datetime-picker>)
vue-datetime-picker
不一致吗? - krisanalfa