-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a scoped library fails to load in an application #1064
Comments
This doesn't seem to be related to our cli. Your lib's package.json doesn't have a |
Thanks @LinusBorg , which file(s) do you generally put in It may be nice to have an option on the cli to add the default component to this if you are building a library, or some additional mention in the build types readme. |
|
@johnwebbcole So, did that solve your problem? |
Going to try it this weekend, but I suspect that will fix it. |
Seems to work! Thx |
Version
3.0.0-beta.6
Reproduction link
https://github.com/johnwebbcole/vue-cli-scoped-lib-issue
Steps to reproduce
error loading lib created with vue-cli
Creating a lib with
vue-cli
works with the demo, but importing intoan app (also created by
vue-cli
) returns the following:Steps to reproduce
I'm not sure if I created the lib wrong or imported it wrong.
What is expected?
I'm expecting the library
HelloWorld.vue
component to be shown.What is actually happening?
Running the app results in
The text was updated successfully, but these errors were encountered: