Use CSS File
See original GitHub issueAfter 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:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have solve my question. Thanks.
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.