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.

Is there a way to pipe a css <link> include into index.html?

See original GitHub issue

Budo lets you use --css styles.css to pipe in a stylesheet for those not bought into the CSS-in-JS idea. Is there a way to do this with bankai?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
marioneblcommented, Aug 14, 2016

I’d vote for keeping bankai opinionated and favor a css-in-js approach. budo for development and plain browserify for building will always be a better fit if one needs full flexibility.

1reaction
yoshuawuytscommented, Nov 6, 2016

if someone wants to use an external stylesheet they can do:

const css = require('sheetify')
css('./my-local-stylesheet.css')

And it’ll just work. Marking as resolved and closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Link CSS to HTML Files in Web Development - Hostinger
Check that your files are in the same folder if you have trouble linking your CSS to HTML. Check that the file path...
Read more >
How can I directly inject css into my index.html? - Stack Overflow
I'm trying to concatenate external css and js files (that are referenced from my index.html file) and then putting them directly into my ......
Read more >
The Simplest Ways to Handle HTML Includes | CSS-Tricks
There is another way i have used before. First– save the file with .inc extension. Secont–go to web server and create or update...
Read more >
External CSS Stylesheets – How to Link CSS to HTML and ...
It is considered a best practice to have your CSS stylesheets in an external file. So how can you link that CSS to...
Read more >
URL rebasing from index.html #854 - clean-css/clean ... - GitHub
pipe (uncache()) .pipe(gulp.dest(buildDir));. What options should use to properly rebase the url() inside css file. Resources from url can be ...
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