vite-plugin-vue icon indicating copy to clipboard operation
vite-plugin-vue copied to clipboard

The value is undefined after hot update

Open an501920078 opened this issue 2 years ago • 1 comments

Describe the bug

C957D87E-7994-47ca-9C4E-E4B412AE2EA7 After making random changes in this file, hot update can no longer get the viewer value; Finally, it was found that the router in http affected him; 5ECB77B5-B73C-4ebf-9DF7-87FC1D0A791B

Reproduction

https://github.com/an501920078/bugDemo.git

Steps to reproduce

pnpm i pnpm run dev Edit initHomeView.ts save

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 4.15 GB / 15.84 GB
  Binaries:
    Node: 16.16.0 - D:\nodenvm\nodejs\node.EXE
    npm: 9.1.3 - D:\nodenvm\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.900.0), Chromium (108.0.1462.46)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    @vitejs/plugin-vue-jsx: ^3.0.0 => 3.0.0
    vite: ^4.0.0 => 4.0.0

Used Package Manager

pnpm

Logs

No response

Validations

an501920078 avatar Dec 13 '22 02:12 an501920078

Has anyone solved this problem?

an501920078 avatar Jan 11 '23 07:01 an501920078