Error when used with Laravel Elixir Vueify
ammezie opened this issue · 2 comments
ammezie commented
I get the following errors while using vuejs-paginator with Laravel Elixir.
Cannot find module '-!vue-html-loader!./../node_modules/vue-loader/lib/selector.js?type=template&index=0!./VPaginator.vue /home/username/laravel/project/node_modules/vuejs-paginator/dist'
Cannot find module '-!babel!./../node_modules/vue-loader/lib/selector.js?type=script&index=0!./VPaginator.vue' from '/home/username/laravel/project/node_modules/vuejs-paginator/dist'
hootlex commented
Try to import it like this:
import VuePaginator from 'vuejs-paginator/dist/vuejs-paginator.min.js'
ammezie commented
That resolved it. Thanks.