Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1.74 KB

advanced-pro-jspm-downloaded_zip.md

File metadata and controls

62 lines (51 loc) · 1.74 KB

This page is deprecated

(see general comments for explanation)




Bower endpoint

  1. Install the JSPM git endpoint plugin by issuing the command: npm install jspm-git --save-dev

  1. Register the endpoint by issuing the command: jspm registry create kendo jspm-git and use the following responses to the prompts you will get:
  • base URL: https://bower.telerik.com
  • Set advanced configurations? yes
  • Would you like to use the default git repository suffix (.git)? yes
  • Disable shallow git clones? no
  • Enable authentication? yes
  • Now enter your Telerik credentials


  1. Run the following command to install the PRO version of Kendo UI: jspm install css jquery kendo-ui=kendo:bower-kendo-ui

  2. Open config.js and add one path mapping: Make sure that you reference the correct version of Kendo in the kendo.* map!

paths: {
"*": "dist/*",
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*",
"kendo:*": "jspm_packages/kendo/*",
"kendo.*": "jspm_packages/kendo/bower-kendo-ui@2016.2.714/js/kendo.*.js" <----
},
"map": {
"aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-beta.1",
"aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.0-beta.1",
"aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.0.2",
"kendo-ui": "kendo:bower-kendo-ui@2016.1.226+SP1"
}

Note: old versions of Kendo require a jquery.min map that is the equivalent of the jquery map: "jquery.min": "github:components/jquery@2.1.4"

5. Now let's open up "app.html" and load KendoUI's CSS files

<require from="kendo-ui/styles/kendo.common.min.css!"></require>
<require from="kendo-ui/styles/kendo.bootstrap.min.css!"></require>