-
Notifications
You must be signed in to change notification settings - Fork 0
[Request] How to consume library section in docs #5
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
Comments
Hi @luckylooke! Thanks for creating an issue, indeed Readme file of that project requires additional work (originally it was created as an example under this issue: vuejs/rollup-plugin-vue#343) About your problem, I think you are doing everything right.
About warning: |
Hi, thanks for rapid answer
but at least it changed formulation Relating to second problem "[Vue warn]: $listeners is read-only" |
I have hit pretty same problem with vue-sfc-rollup. But this time I google more and found slution. resolve: {
alias: {
// fixes $attrs/$listeners errors
vue: path.resolve("./node_modules/vue")
}
} into my application (understand library consumer) webpack config |
Hello 👋
Thanks for sharing.. ❤️
Could you please write section, how to consume result library?
I think I do know how I should use component:
but I am getting errors
also
I have checked implementation and didn't see any attempts to write into those properties 🤷
Also I am not sure how to import styles. I have tried following in my scss:
also
Getting error: "Module not found: Error: Can't resolve 'my-lib/styles.css'"
And what if I want to consume SCSS vars from library in app project? 🤷
Thank you for any help 🙏
The text was updated successfully, but these errors were encountered: