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.

css styles not applied after building

See original GitHub issue

Environment

  • Operating System: Windows_NT
  • Node Version: v16.17.0
  • Nuxt Version: 2.16.0-27720022.54e852f
  • Nitro Version: 0.5.4
  • Package Manager: npm@8.19.2
  • Builder: vite
  • User Config: bridge, vite, css, plugins, components, buildModules, modules, pwa, build, serverHandlers, devServerHandlers
  • Runtime Modules: -
  • Build Modules: (), @nuxt/bridge@3.0.0-27737014.fcf636d

Reproduction

https://stackblitz.com/edit/nuxt-starter-y8k5hw?file=nuxt.config.js

Describe the bug

in dev mode, all styles from nuxt.config.js > css applied as well. after building the project, css files not loaded.

Additional context

this bug appears after 3.0.0-27736739.990b28d version released.

Logs

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreyYolkincommented, Dec 5, 2022

Any news on this one? Running a new nuxt 2 + bridge build, it seems that global css styles aren’t applied

https://github.com/nuxt/bridge/issues/561#issuecomment-1298454739 helps both with 3.1.x and 3.2.x

0reactions
maxarias-iocommented, Dec 1, 2022

Any news on this one? Running a new nuxt 2 + bridge build, it seems that global css styles aren’t applied

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my CSS style not being applied? - Stack Overflow
I went to solution explorer (press Ctrl+Alt+L) and searched gt.css (enter your css filename). Right click on your css filename and then on ......
Read more >
How to Troubleshoot CSS Not Working - WPForms
Have you added custom CSS for your forms, but not been able to see it come through? Here's how to troubleshoot when your...
Read more >
Some CSS styles not being applied correctly after webpack build
I am very new to webpack but I have noticed that some of my CSS was not being applied unless I specifically set...
Read more >
Solving the React Error: Not Picking Up CSS Style | Pluralsight
CSS helps in styling webpages, but sometimes code may not get properly imported or may show a few errors while it is being...
Read more >
Cascade, specificity, and inheritance - Learn web development
At some point, you will be working on a project and you will find that the CSS you thought should be applied to...
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