how to share less style file in component library and export #6740
coader
started this conversation in
General Discussions
Replies: 2 comments
-
now I put all styles to less files in assets folder, ensure that it only generate one pure css file, |
Beta Was this translation helpful? Give feedback.
0 replies
-
already solve it, add this file to package.json -> exports |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a monorepo project with a VUE component library,
it has several components and share a less file
now I use @import .. 'xx.less' in each component's <style> section
but when build and use those components, the shared less style output to many times
so how can I use shared less style in component library? tks
and I also use tailwind css in this component library, which file can I put this imports?
@tailwind base;
@tailwind components;
@tailwind utilities;
Beta Was this translation helpful? Give feedback.
All reactions