Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack does not support inlining CSS in HTML #14364

Closed
mannok opened this issue Jul 21, 2022 · 2 comments
Closed

webpack does not support inlining CSS in HTML #14364

mannok opened this issue Jul 21, 2022 · 2 comments

Comments

@mannok
Copy link

mannok commented Jul 21, 2022

Environment

Nuxt CLI v3.0.0-rc.6 02:18:49
RootDir: C:\projects\self\nuxt-webpack-css-loader-fail 02:18:54
Nuxt project info: 02:18:54


  • Operating System: Windows_NT
  • Node Version: v14.17.1
  • Nuxt Version: 3.0.0-rc.6
  • Package Manager: npm@7.10.0
  • Builder: webpack
  • User Config: builder, build, ssr, css, webpack
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Minimal Reproduction from https://github.com/mannok/nuxt-webpack-css

Please see the commit log, expected the body will be applied background-color: darkcyan;, but Webpack cannot load the css so all styles in the page are broken.

Describe the bug

css cannot be loaded while using Nuxt3 with Webpack

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

danielroe commented Jul 25, 2022

At the moment inlining styles is not supported for webpack + vue-loader: vuejs/vue-style-loader#56.

@danielroe danielroe changed the title Nuxt3 with Webpack is not able to load css file webpack does not support inlining CSS in HTML Jul 25, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
@danielroe
Copy link
Member

Let's track in #14777

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants