專案程式碼裡設定了一些別名,vite 無法識別,所以需要在vite 裡面也設定alias: resolve: { alias: { '@': resolve(__dirname, 'src'), }, }, ...
確定! 回上一頁