Replies: 1 comment
-
|
See Vite troubleshooting: https://vite.dev/guide/troubleshooting — share |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
目录结构类似这样:
detail.vue是一个弹出窗体,list.vue中有个按钮点击弹出detail窗体。
打包配置是按照view下的一级目录进行分组,这些会打到一个包里。
dev环境是正确的,打包后在8.0.12下是正确的,8.0.13及8.0.14下都有问题。问题表现:
单独刷新某一个页面都是正确的,但是顺序点击页面,点到第三个时,点击按钮后detail不会弹出窗体。查看html内容后,发现取而代之是生成了一个元素。
抱歉,我不是专职的前端开发,对vite,vue都理解有限,只能描述发现的现象。
Reproduction
不太会弄
Steps to reproduce
No response
System Info
System: OS: Windows 10 10.0.17763 CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Memory: 5.20 GB / 23.88 GB Binaries: Node: 24.14.0 - C:\Program Files\nodejs\node.EXE npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD pnpm: 10.33.0 - C:\Users\jiayp\AppData\Roaming\npm\pnpm.CMD Browsers: Chrome: 147.0.7727.117 Internet Explorer: 11.0.17763.2989 npmPackages: @vitejs/devtools: ^0.1.21 => 0.1.21 @vitejs/plugin-legacy: ^8.0.0 => 8.0.1 @vitejs/plugin-vue: ^6.0.5 => 6.0.6 vite: 8.0.12 => 8.0.12Used Package Manager
pnpm
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions