We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: macOS 15.2 CPU: (14) arm64 Apple M4 Pro Memory: 12.70 GB / 48.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 132.0.6834.160 Safari: 18.2 npmPackages: @rsbuild/core: ^1.1.8 => 1.2.3 @rsbuild/plugin-vue: ^1.0.5 => 1.0.5
My Vue component is as follows:
<script lang="ts" setup> import { ref } from "vue"; const count = ref(0); </script> <template> <div class="content"> <h1>Rsbuild with Vue</h1> <p>Start building amazing things with Rsbuild.</p> <button @click="count++">+</button> <span>{{ count }}</span> <button @click="count--">-</button> </div> </template>
In dev mode, after I modified the text in <p>, the state of count was held well in Rsbuild 1.1.14.
<p>
Rsbuild 1.1.14
But after I upgraded @rsbuild/core to 1.2.3, the state of count was reset to 0.
@rsbuild/core
1.2.3
https://github.com/xbzhang2020/rsbuild-vue-bug
pnpm i & pnpm dev
p
The text was updated successfully, but these errors were encountered:
Related issue: #3217
Sorry, something went wrong.
9aoy
No branches or pull requests
Version
Details
My Vue component is as follows:
In dev mode, after I modified the text in
<p>
, the state of count was held well inRsbuild 1.1.14
.But after I upgraded
@rsbuild/core
to1.2.3
, the state of count was reset to 0.Reproduce link
https://github.com/xbzhang2020/rsbuild-vue-bug
Reproduce Steps
pnpm i & pnpm dev
p
.The text was updated successfully, but these errors were encountered: