1. 输入这个命令
npm create @vitejs/app my-vue-app --template vue

2.在vite.config.js中配置
在这里插入图片描述

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐