Skip to content

Instantly share code, notes, and snippets.

@victorsteven
Last active April 15, 2019 17:34
Show Gist options
  • Save victorsteven/877d0c4c574cab2f7e1161afe2c4cc7c to your computer and use it in GitHub Desktop.
Save victorsteven/877d0c4c574cab2f7e1161afe2c4cc7c to your computer and use it in GitHub Desktop.
app.js file
require('./bootstrap');
window.Vue = require('vue');
import swal from 'sweetalert2';
window.swal = swal;
import VueCtkDateTimePicker from 'vue-ctk-date-time-picker';
import 'vue-ctk-date-time-picker/dist/vue-ctk-date-time-picker.css';
Vue.component('VueCtkDateTimePicker', VueCtkDateTimePicker);
Vue.component('new-arrivals', require('./components/NewArrivals.vue').default);
const app = new Vue({
el: '#app'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment