After upgrading to vite3.0,Some components disappeared
See original GitHub issueDescribe the bug
Both local dev
and build
can be accessed normally, and the problem occurs after the release
There is an exception code comment in the component
Reproduction
https://github.com/ckvv/vite-test
System Info
System:
OS: Linux 4.14 Amazon Linux AMI 2018.03
CPU: (2) x64 Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
Memory: 537.37 MB / 3.65 GB
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
npmPackages:
@vitejs/plugin-vue2: 1.1.2 => 1.1.2
vite: 2.9.14 => 2.9.14
Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
After upgrading to vite3.0,Some components disappeared #467
Describe the bug. Both local dev and build can be accessed normally, and the problem occurs after the release. There is an exception...
Read more >CSS missing for some components on Vite bundle
I'm using Vite as my bundler, I have not made any changes to the config beyond what comes with the react template, which...
Read more >Vite 3.0 is out!
First, Terser is no longer installed by default. This dependency was no longer needed since we already made esbuild the default minifier for...
Read more >Swiper Vue.js Components
SwiperSlide component has the following slot props: isActive - true when current slide is active; isPrev - true when current slide is the...
Read more >vue/compat
After the upgrade, to use <transition> and <keep-alive> with <router-view> requires using the new scoped-slot based syntax. Example commit. Pick ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If I remove
unplugin-vue-components
and imported manually, it worked. https://stackblitz.com/edit/github-zssvdu?file=vite.config.jsI think it’s a bug in that (or maybe it does not support Vite 3 yet).
@bluwy @caoxiemeihao Hello, I have added reproduction, in order to prevent you from being unable to reproduce in your own machine, I have submitted the dist directory,