我正在开发一个 Vue 3 应用程序,并尝试将静态图像替换为视频,但它抛出了
[vite] Build errored out. Error: Unexpected character '' (Note that you need plugins to import files that are not JavaScript) at error (/myapp/node_modules/rollup/dist/shared/rollup.js:5275:30) ...
此构建(不是您使用图像,只是为了显示):
这不会:
我是 Vite 的新手,我想了解为什么它似乎想要从 HTML 标签导入视频。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号