Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 902 Bytes

advanced-core-webpack.md

File metadata and controls

38 lines (32 loc) · 902 Bytes

This page is deprecated

(see general comments for explanation)




  1. Install kendo-core and jquery: npm install kendo-ui-core jquery --save

  2. Add the following stylesheets to the head section of `index.html:
<link rel="stylesheet" href="node_modules/kendo-ui-core/css/web/kendo.common.core.min.css">
<link rel="stylesheet" href="node_modules/kendo-ui-core/css/web/kendo.default.min.css">



3. Open aurelia_project/aurelia.json and append the following configuration to the dependencies section of the vendor-bundle:

"jquery",
{
"name": "kendo-ui-core",
"path": "../node_modules/kendo-ui-core/"
}



4. Kendo controls can be loaded as follows:

import * as $ from 'jquery';
import 'kendo-ui-core/js/kendo.button';