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

v-model hmr has problem #268

Open
6 of 9 tasks
bigMeowCoding opened this issue Oct 13, 2023 · 0 comments
Open
6 of 9 tasks

v-model hmr has problem #268

bigMeowCoding opened this issue Oct 13, 2023 · 0 comments

Comments

@bigMeowCoding
Copy link

bigMeowCoding commented Oct 13, 2023

Related plugins

Describe the bug

v-model directive changed, vite hmr not work at immediate

Reproduction

https://stackblitz.com/edit/vitejs-vite-edgswe?file=src%2FApp.vue&terminal=dev

Steps to reproduce

change first input :value to v-model , the code vue bidirectional binding should work right now, but page hmr not work ,You need to refresh the page manually:)

System Info

System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 189.73 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.1 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 9.8.1 - /usr/local/bin/npm
    pnpm: 8.7.4 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 117.0.5938.149
    Safari: 16.5.2
  npmPackages:
    @vitejs/plugin-vue: 4.4.0 => 4.4.0 
    @vitejs/plugin-vue-jsx: 3.0.2 => 3.0.2 
    @vitejs/test-example-external-component: file:example-external-component => 0.0.0 
    vite: ^4.4.11 => 4.4.11

Used Package Manager

npm

Logs

23

Validations

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

1 participant