Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
import flatPickr from 'vue-flatpickr-component';
import 'flatpickr/dist/flatpickr.css';
import 'flatpickr/dist/themes/light.css';
import 'flatpickr/dist/l10n/zh.js';
console.log(flatPickr.props.config);
flatPickr.props.config.default = () => {
return {
enableTime: true,
enableSeconds: true,
time_24hr: true,
minuteIncrement: 5,
prevArrow: '<i class="fas fa-angle-left"></i>',
nextArrow: '<i class="fas fa-angle-right"></i>',
locale: 'zh',
};
};
window.Vue.component('flat-pickr', flatPickr);
import vueKanban from 'vue-kanban';
window.Vue.use(vueKanban);
/**
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
import flatPickr from 'vue-flatpickr-component';
import 'flatpickr/dist/flatpickr.css';
import 'flatpickr/dist/themes/light.css';
import 'flatpickr/dist/l10n/zh.js';
console.log(flatPickr.props.config);
flatPickr.props.config.default = () => {
return {
enableTime: true,
enableSeconds: true,
time_24hr: true,
minuteIncrement: 5,
prevArrow: '<i class="fas fa-angle-left"></i>',
nextArrow: '<i class="fas fa-angle-right"></i>',
locale: 'zh',
};
};
window.Vue.component('flat-pickr', flatPickr);
import vueKanban from 'vue-kanban';
window.Vue.use(vueKanban);