Quasar Component Library #14116
Unanswered
RizaHKhan
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We're building a couple of apps that require pretty much the same theme colors and components. We decided to try and build a library with Quasar and so far so good... we pushed to NPM and are able to import the components where we need.
The only hiccup is how the CSS gets exported. It doesn't seem to work... in the sense that the receiving repository, I need to explicitly re-add the
quasar-variables.scss
file. Which somewhat defeats the purpose of creating a library.My
vite-config.js
:and the
index.js
file referenced in the above config is just a export of all of the components:How can I export this so that the CSS I specify in this library carries over to where I export it (FYI, I will always export it to another Quasar app).
Beta Was this translation helpful? Give feedback.
All reactions