Quasar Component Library #14116
Replies: 3 comments
-
Hi, I'm having the same issue. Did you manage to find a solution? |
Beta Was this translation helpful? Give feedback.
-
Hey I am also curious where this ended up? |
Beta Was this translation helpful? Give feedback.
-
I use a subpath export for just the CSS which I import in App.vue: If what you mean is creating Quasar based components without using Quasar Framework in the receiving project, that is not possible (for multiple reasons). |
Beta Was this translation helpful? Give feedback.
-
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