SSENSE/vue-carousel

Question: With MeteorJS - Plugin/Preset files are not allowed to export objects, only functions.

Open

#200 创建于 2018年5月15日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (1,705 star) (513 fork)batch import
help wantedquestion

描述

Love this library, thanks a lot for the great quality!

I got a problem when HRM is hot reloading my app after I make a change. Im getting the following:

HRM node_modules/vue-carousel/src/Carousel.vue:29  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Navigation.vue:23  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Pagination.vue:33  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Slide.vue:13  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Carousel.vue:29  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Navigation.vue:23  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Pagination.vue:33  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4
HRM node_modules/vue-carousel/src/Slide.vue:13  [vue-component] Error while compiling in tag <script>: Plugin/Preset files are not allowed to export objects, only functions.
dev-client.js:227:4

Any idea what I'm doing wrong here? I could share my component also if that helps and maybe my package.js file. Im on 0.7.3 of vue-carousel.

Everything works perfectly well otherwise, just anoying to get these error messages in the console in Chrome.

贡献者指南

Question: With MeteorJS - Plugin/Preset files are not allowed to export objects, only functions. · SSENSE/vue-carousel#200 | Good First Issue