Aurelia CLI
Library Installation | Advanced (via module loader)
Aurelia-CLI
Follow these instructions to install Kendo-UI
Install jquery:
npm install jquery --saveAdd the following stylesheets to the
headsection of `index.html:<link rel="stylesheet" href="node_modules/@progress/kendo-ui/css/web/kendo.common.core.min.css"> <link rel="stylesheet" href="node_modules/@progress/kendo-ui/css/web/kendo.default.min.css">Open
aurelia_project/aurelia.jsonand append the following configuration to thedependenciessection of thevendor-bundle:"jquery", { "name": "kendo", "path": "../node_modules/@progress/kendo-ui/", "resources": [ "js/kendo.button.js" ] },Everything in the resources property will be added to the bundle. If you do not declare the controls that you use, RequireJS will fetch them at runtime, which might cause issues during deployment
Kendo controls can be loaded as follows:
import 'kendo/js/kendo.datepicker';Warning: The error you get during the tracing process of
au runis expected and harmless. More can be read in this issue
Last updated