vite.config.js内容
export default {
}
产品分类: uniapp/H5
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: Alpha
HBuilderX版本号: 3.2.8
浏览器平台: Chrome
浏览器版本: edge最新版
项目创建方式: HBuilderX
vite.config.js内容
export default {
}
直接运行
需要正常运行起来
无法正常运行
vite.config.js内容
export default {
}
报错如下
error when starting dev server:
14:28:29.720 Error: The following dependencies are imported but could not be resolved:
14:28:29.726 vue (imported by E:/project/ronghui/rhsh_rft_vue3/main.ts)
14:28:29.727 Are they installed?
14:28:29.733 at optimizeDeps (D:\anzhuang\HBuilderX_alpha\plugins\uniapp-cli-vite\node_modules\vite\dist\node\chunks\dep-36bf480c.js:71645:15)
14:28:29.734 at processTicksAndRejections (internal/process/task_queues.js:97:5)
14:28:29.739 at async runOptimize (D:\anzhuang\HBuilderX_alpha\plugins\uniapp-cli-vite\node_modules\vite\dist\node\chunks\dep-36bf480c.js:75494:48)
14:28:29.739 at async Server.httpServer.listen (D:\anzhuang\HBuilderX_alpha\plugins\uniapp-cli-vite\node_modules\vite\dist\node\chunks\dep-36bf480c.js:75510:21)
14:28:32.261 已停止运行...
4***@qq.com
亲测可用~谢谢
2021-12-31 15:51