- 使用vue3+vite 默认支持Chrome >=87
- chrome 53:
- npm install @vitejs/plugin-legacy -D
//vite-config.js
import legacy from "@vitejs/plugin-legacy";
legacy({
targets: ['defaults', 'ie >= 11', 'chrome 53'],
}),
- 还有一个问题 abortController未定义
//vite-config.js
import legacy from "@vitejs/plugin-legacy";
legacy({
targets: ['defaults', 'ie >= 11', 'chrome 53'],
}),