Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Component "Library" example doesnt extend to examples with more than one component #233

Closed
SumNeuron opened this issue Sep 9, 2018 · 1 comment

Comments

@SumNeuron
Copy link

SumNeuron commented Sep 9, 2018

Expected behavior

Actual behavior

If I have two components and try to make a component library, doesn't work.

Steps to reproduce the behavior

Take component library example, copy paste MyComponent to MyComponent2, add intermediate file library.js. Import both components into new file. Store in object: library={MyComponent:MyComponent, MyComponent2:MyComponent2} and export it. Set this file to the input file.

First zip is single component "library" (works)
Second zip is multi component library (does not work)

vue-rollup-npm-test.zip
vue-rollup-npm-library-test.zip

@SumNeuron
Copy link
Author

Anyone here? :)

@znck znck closed this as completed in b503965 Jan 14, 2019
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