Windows x64
aurelia-syncfusion-bridge 1.0.0
syncfusion-javascript 15.3.26
我想只使用网格组件及其必要和可选组件,但建立跟踪所有组件。
每个安装说明插件设置为syncfusion.useAll(),我没有看到任何其他有关更改此设置的文档。
答案 0 :(得分:2)
感谢您对Syncfusion组件的关注。
我们可以通过修改以下用户指南文档中的几个步骤来使用所需的组件。
https://help.syncfusion.com/aurelia/getting-started/aurelia-cli-integration
在aurelia_project/aurelia.json
文件中,修改已在build.bundles.dependencies
中配置的以下行。 here
{
"name": "aurelia-syncfusion-bridge",
"path": "../node_modules/aurelia-syncfusion-bridge/dist/amd",
"main": "index",
"resources": [
"grid/*.js", // <--- Required files --->
"common/template.js" // Remove this, if template rendering not required
]
}
在aurelia-syncfusion-bridge
文件夹中的main.js
文件中注册src
插件和Aurelia。 here
.plugin('aurelia-syncfusion-bridge', (syncfusion) => syncfusion.ejGrid().ejTemplate());
// Remove ejTemplate(), if template rendering not required
为方便起见,我们准备了样品并附在下面。
如何运行。?
在示例的根位置运行以下命令。
npm install
au run --watch
谢谢,
Karthick T