老师报这个警告啥原因啊?怎么改?用的vite
来源:2-1 为什么需要编程规范?
春去_秋来
2022-08-15

You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.
老师报这个警告啥原因啊?怎么改?用的vite
写回答
1回答
-
Sunday
2022-08-15
你好
这是 i18n 的导入问题,可以看下这个问答: https://github.com/intlify/vue-i18n-next/issues/789
00
相似问题
箭头函数获取缓存,控制台警告
回答 1
v-html导致的xss警告
回答 2