You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue : with the production build, the stylesheet is imported twice.
I know I can import the stylesheet globally in the root App component, but I don't want to. I want my ReusableComponent to be portable to another project with a simple copy/paste. Or at least, if I don't use this component anymore, not to have the piece of css in the production build.
Note : in this case, the styles are not inline in the ReusableComponent vue file because they are extracted from a css framework.
The text was updated successfully, but these errors were encountered:
Hello,
First of all, thank you for your awesome lib.
I have a problem with components and styles.
Let's assume I have a reusable component with some default styles :
Now, if I want to use this ReusableComponent in two others components, i can do :
The issue : with the production build, the stylesheet is imported twice.
I know I can import the stylesheet globally in the root App component, but I don't want to. I want my ReusableComponent to be portable to another project with a simple copy/paste. Or at least, if I don't use this component anymore, not to have the piece of css in the production build.
Note : in this case, the styles are not inline in the ReusableComponent vue file because they are extracted from a css framework.
The text was updated successfully, but these errors were encountered: