<Carousel> is not a valid SSR component.
vedmant opened this issue · 2 comments
vedmant commented
When using with Sapper I have this error:
is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
Would be nice to have some instructions how to use it with Sapper
antony commented
The install instructions are for Sapper, I've never used it with anything other than Sapper.
It sounds like you've installed the library as a regular dependency, not a dev dependency as instructed on the README.
Reinstall it as a dev dependency and the carousel should work.