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.

Include css like External style sheets, but not like Embedded styles.

See original GitHub issue

Hi all! I develop web site on nuxt.js and try use bootstrap-vue module. What I do:

$ mkdir nuxttest
$ cd nuxttest
$ yarn create nuxt-app test
$ cd test/
$ yarn add bootstrap-vue

After that - edit /nuxt.config.js, and add bootstrap-vue/nuxt in modules section:

  modules: [
    "bootstrap-vue/nuxt"
  ],
$ yarn build
$ yarn start

And open in browser (chrome) source code of page. I see, that bootstrap styles included embedded (like <style>…</style>). I want connect bootstrap styles like file in <link rel="stylesheet" ... > how can i make it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peektoseencommented, Jun 8, 2021

@Hiws , Thank you very much for your help! I’ll try ask nuxt comunity. If I found solution - will write it here.

1reaction
Hiwscommented, Jun 8, 2021

I don’t know enough about Nuxt to give you an answer as to try it doesn’t work for you. I tested it in a local test project, and it appeared to work correctly there. Try checking the version as perhaps it’s something new, or something has changed.

But overall this seems more like a Nuxt question, than a BootstrapVue question. So try asking on their GitHub or perhaps their Discord.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Types of CSS: Inline, Internal and External CSS Explained
This article will explain the three types of CSS along with the advantages and disadvantages of each type.
Read more >
Understanding the 3 Types of CSS Styles - ThoughtCo
Understanding the three types of CSS styles — Inline, Embedded, and External Style Sheets — will help you use cascading style sheets ...
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 add CSS - W3Schools
An external style sheet can be written in any text editor, and must be saved with a .css extension. The external .css file...
Read more >
Style Sheets in HTML documents - W3C
Documents that include elements that set the style attribute but which don't define a default style sheet language are incorrect. Authoring tools should ......
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