随笔 - 121  文章 - 0  评论 - 5  阅读 - 49347
  2025年2月4日
摘要: 在vite.config.js/ts 中 export default defineConfig({ plugins: [ vue() ], resolve: { alias: { // 配置路径别名 使用@ 代替 ./src '@': fileURLToPath(new URL('./src', 阅读全文
posted @ 2025-02-04 22:18 贲风 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 在vite.conig.js/ts 中 1. fileURLToPath import { fileURLToPath } from 'url' export default defineConfig({ plugins: [ vue() ], resolve: { alias: { // 配置路径 阅读全文
posted @ 2025-02-04 22:15 贲风 阅读(54) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示