AG Grid控制台出现混合模块与包警告,未混用却触发是否为Bug?
AG Grid 混合模块与包的警告问题
AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms.
我遇到的这个警告和Stack Overflow上用户的问题一致,但对方是在package.json中同时安装了模块形式和包形式的AG Grid依赖,而我的package.json里AG Grid相关依赖只有以下几个:
"ag-grid-community": "31.3.2", "ag-grid-enterprise": "31.3.2", "ag-grid-vue3": "31.3.2",
我的代码里也没有使用模块形式的导入语句,用rg命令搜索的结果如下:
quant@localhost: ~/repo/web_ui $ rg "import.*ag-grid" src/App.vue 14:import { ModuleRegistry } from "ag-grid-community"; src/components/StoredProcExec.vue 34:import { AgGridVue } from "ag-grid-vue3"; src/components/ServerSideView.vue 37:import "ag-grid-community/styles/ag-grid.css"; // Mandatory CSS required by the grid 38:import "ag-grid-community/styles/ag-theme-balham.css"; // Optional Theme applied to the grid 40:import { AgGridVue } from "ag-grid-vue3"; src/components/StoredProcView.vue 101:import "ag-grid-community/styles/ag-grid.css"; // Mandatory CSS required by the grid 102:import "ag-grid-community/styles/ag-theme-balham.css"; // Optional Theme applied to the grid 106:import { AgGridVue } from "ag-grid-vue3"; src/pages/other/WhoAmI.vue 17:import "ag-grid-community/styles/ag-grid.css"; // Mandatory CSS required by the grid 18:import "ag-grid-community/styles/ag-theme-balham.css"; // Optional Theme applied to the grid 19:import { AgGridVue } from "ag-grid-vue3";
请问这是AG Grid的Bug吗?
内容的提问来源于stack exchange,提问作者quant
相关产品推荐
相关产品推荐

