Static GitHub Issues

[1536] Unexpected token < when use component

prev: Build broken after upgrade from beta 6 to beta 8
next: i18n example broken on server load

Hello. Sorry for creating issue about specific component, but this one is too good. I am talking about https://github.com/drewjbartlett/vue-flickity

I made it work with non-SSR Vue app, but got errors with Nuxt.

[vue-router] Failed to resolve async component default: SyntaxError: Unexpected token <
[vue-router] uncaught error during route navigation:
/home/***/Documents/WORK/EXAMPLES/nuxt-examples/node_modules/vue-flickity/flickity.vue:1
(function (exports, require, module, __filename, __dirname) { <template>
                                                              ^

SyntaxError: Unexpected token <

I never expect such errors before, so I ask your help. By the way, error appears when I refresh the page.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1368">#c1368</a>)</em></sub></div>