How do you load just one component when using aurelia-syncfusion-bridge with aurelia-cli -
windows x64
aurelia-syncfusion-bridge 1.0.0
syncfusion-javascript 15.3.26
i use grid component , necessary , optional components building traces components.
per install instructions plugin set syncfusion.useall() , did not see other documentation changing setting.
thanks interest in syncfusion components.
we can use required component modifying couple of steps followed in below user guide documentation.
https://help.syncfusion.com/aurelia/getting-started/aurelia-cli-integration
in
aurelia_project/aurelia.json
file, modify following lines configured inbuild.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 ] }
register
aurelia-syncfusion-bridge
plugin aurelia in ourmain.js
file insrc
folder. here..plugin('aurelia-syncfusion-bridge', (syncfusion) => syncfusion.ejgrid().ejtemplate()); // remove ejtemplate(), if template rendering not required
for convenience, have prepared sample , attached below.
how run.?
run below commands in sample's root location.
npm install au run --watch
thanks,
karthick t
Comments
Post a Comment