Subscribe on changes!

Vue style error

avatar
Sep 6th 2023

Vue version

3.3.4

Link to minimal reproduction

localhost

Steps to reproduce

Nothing

What is expected?

Vue kodlarken component içerisinde style açıyorum. Style etiketi ile işim bitip sildiğimde sorun yok fakat siteye baktığımda vite hata veriyor. Projeyi yeniden başlatmak zorunda kalıyorum.

What is actually happening?

Vite gives an error, basically the project crashes (until I restart it)

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 5.47 GB / 15.30 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.6.2 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Spartan (44.22621.2215.0), Chromium (116.0.1938.69)
    Internet Explorer: 11.0.22621.1

Any additional comments?

No response

avatar
Sep 6th 2023

Please provide a repro code repository for us to troubleshoot

avatar
Sep 6th 2023

Please open a new issue if you managed to create a minimal reproduction. Thank you.

avatar
Sep 10th 2023

I think I explained my problem very simply. when I open the style tag in the component and delete it back after using it, I have to restart the vite. you can understand it by testing it.