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.

After I used: import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap-vue/dist/bootstrap-vue.css'; I found them were in <head></head>, and display like <style>...</style><style>...</style> from chrome developer tools. Could them display like <link href="styles/bootstrap.css" rel="stylesheet" />? How should I do?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
MarkSkycommented, Sep 4, 2017

I have solve my question. Thanks.

1reaction
MarkSkycommented, Aug 28, 2017

So I have to use the Extract Text Plugin to let the two style files become css files in the web folder, and I can set <link href="styles/bootstrap.css" rel="stylesheet" /> in html to use the files. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add CSS - W3Schools
To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. Example. Inline styles...
Read more >
How to Link CSS to HTML Files in Web Development - Hostinger
In order to link HTML to CSS in your HTML file, you need to use link tags with the right attributes. Remember that,...
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 >
How to Include CSS in HTML Pages - Tutorial Republic
Inline styles — Using the style attribute in the HTML start tag. · Embedded styles — Using the <style> element in the head...
Read more >
CSS File - File Format Docs
CSS (Cascading Style Sheets) are files that describe how HTML elements are displayed on the screen, paper, etc. With HTML, you can have...
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