所以我一直在尝试在添加 gridx 小部件后构建我的 DOJO
我在 app.profile.js 文件中添加了 gridx 模块,如下所示:
layers: {
"gridx/gridx": {
include: [
"gridx/Grid",
"gridx/core/model/cache/Async",
"gridx/modules/CellWidget",
"gridx/modules/Edit",
"gridx/modules/Filter",
"gridx/modules/Pagination",
"gridx/modules/pagination/PaginationBar"
]
}
}
在编译期间,我不断收到这些错误。
错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/Grid 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/core/model/cache/Async 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/modules/CellWidget 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/modules/Edit 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/modules/Filter 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖项:js/plugins/gridx/modules/Pagination 错误(311)缺少依赖项。模块:应用程序/屏幕;依赖:js/plugins/gridx/modules/pagination/PaginationBar
不知道我在这里缺少什么我已经排除了一段时间。
packages.json 代码
{
"name": "app",
"version": "1.0",
"dependencies": {
"dojo": "current",
"dijit": "current",
"dojox": "current",
"util": "current",
"gridx": "current",
},
"description": "app Components Package",
"dojoBuild": "app-common.profile.js"
}