SSENSE/vue-carousel

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

Aberta

#200 aberto em 15 de mai. de 2018

 (4 comentários) (0 reação) (0 responsável)JavaScript (513 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (1.705 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador