0๐
You need a specific loader for CSS files
Import in your parent component the style for the datepicker
import 'vue-datetime/dist/vue-datetime.css';
import { Datetime } from "vue-datetime";
import 'vue-datetime/dist/vue-datetime.css';
export default {
name: "PostDetails",
props: ["current_post", "raw_post", "edit"],
components: {
datetime: Datetime,
},
data() {
return {
datetime:this.raw_post.beg_date
};
},
};
- [Vuejs]-Is there a way to create a default value for a v-select trough a function with vue.js / vuetify
- [Vuejs]-Json response returns nested object
Source:stackexchange.com