question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Split main css into different files for each component

See original GitHub issue

Currently all styles exists inside : https://github.com/btzr-io/Villain/blob/master/src/css/styles.css We should create different files for each component:

- button.css
- tooltip.css
- ...

Also please see: Use post css for webpack and rollup #85

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
geekyrajshricommented, Oct 24, 2019

@btzr-io yup i am on it , will request a PR soon

1reaction
geekyrajshricommented, Oct 21, 2019

Can I take this up

Read more comments on GitHub >

github_iconTop Results From Across the Web

Single huge .css file vs. multiple smaller specific .css files?
This is a hard one to answer. Both options have their pros and cons in my opinion. I personally don't love reading through...
Read more >
How to organize CSS in multiple files
An alternative to not splitting your CSS into multiple files, is to learn how to properly organize your CSS in multiple files.
Read more >
Should I split my css files into multiple css files? : r/webdev
Yeah, it's recommended to split your sources in sass. It will take care of compiling the final css file regardless of sources being...
Read more >
How to include one CSS file in another?
Yes, It is possible to include one CSS file in another and it can be done multiple times. Also, import multiple CSS files...
Read more >
Code splitting with CSS and JS
Basically, it's splitting your code up into separate files, rather than having it all in one file. Let's say you have a really...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found