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

Css does not load when the SFC-js is import async #1362

Closed
LoveofRedMoon opened this issue Jan 5, 2021 · 0 comments
Closed

Css does not load when the SFC-js is import async #1362

LoveofRedMoon opened this issue Jan 5, 2021 · 0 comments

Comments

@LoveofRedMoon
Copy link

Do NOT ignore this template or your issue will have a very high chance to be closed without comment.

Describe the bug

In some cases, the SFC-js is import async and SFC-css is split with js.
but js does not inject css

Reproduction

https://github.com/LoveofRedMoon/vite-build-css-error.git

System Info

  • required vite version: 2.0.0-beat.5
  • required Operating System: win10
  • required Node version: 15
  • Optional:
    • npm/yarn version 14
    • Installed vue version (from yarn.lock or package-lock.json) 3.0.5
    • Installed @vue/compiler-sfc version

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.

follow #1356

The error does not fix

from the repository, when build, PScroll.js does not show link element

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant