Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Can't import after running yarn build #30

Open
jumzijie opened this issue Mar 10, 2020 · 0 comments
Open

Can't import after running yarn build #30

jumzijie opened this issue Mar 10, 2020 · 0 comments

Comments

@jumzijie
Copy link

After running yarn build, and trying to import vue-gallery-slideshow.min.js into my Vue project, I encountered this error:

"export 'default' (imported as 'VueGallerySlideshow') was not found in './vue-gallery-slideshow.min.js'

I noticed that the difference is that the original dist/js/vue-gallery-slideshow.js file had a require('vue-runtime-helpers'), but the output of my yarn build did not.

Does anybody know how to run it so that it can work by importing the dist file into another project?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant