javascript - Vue Bootstrap Calendar in Laravel -


does know how integrate vue bootstrap calendar in laravel 5.4 ?

after installing it, i'm trying on assets/js/app.js:

window.vue = require('vue'); vue.component('calendar', require('vue-bootstrap-calendar')); 

but when run num run dev, error:

module build failed: error: couldn't find preset "latest" relative directory "../node_modules/vue-bootstrap-calendar"

i tried with:

require( 'vue-i18n' );

require( 'vue-i18n' );     window.vue = require('vue'); window.i18n = new vuei18n({     locale: 'en',     messages }); vue.component('calendar', require('vue-bootstrap-calendar')); 

but still same error..


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -