如果你使用的是 Vue2 ,我们还要补充 vite-plugin-vue2 , 这个会用在 vite.config.js 中:. image.png npm i vite-plugin-vue2 -D.
確定! 回上一頁