Vue3在添加动态路由时,vite提示:you can use the /* @vite-ignore */ comment inside the import() call to suppress
最新推荐文章于 2024-07-01 14:14:36 发布
在使用Vue3和Vite4.2.0版本时,进行动态路由导入时遇到Vite警告。警告提示可以使用/*@vite-ignore*/注释来抑制该警告。这意味着在import()调用内部添加此注释可以消除关于动态导入的不必要的提醒。
摘要由CSDN通过智能技术生成