KendoUI bridge developers notes
  • Introduction
  • Bridge utilities
  • Generation of bindables
  • Babel DTS generator
  • Grid HTML api
  • Template compilation
  • Harvesting bindable variables
  • Registry helper class
  • Creating gists for the catalog app
  • Managing tutorial samples
    • KendoUI-skeleton-esnext
    • KendoUI-skeleton-esnext-aspnetcore
    • KendoUI-skeleton-esnext-webpack
    • KendoUI-skeleton-typescript
    • KendoUI-skeleton-typescript-aspnetcore
    • KendoUI-skeleton-typescript-webpack
Powered by GitBook
On this page
  • Sample 1 - KendoUI-skeleton-esnext
  • Step 1 - add KendoUI bridge
  • Step 2 - add source code using KendoUI bridge
  • Step 3 - add KendoUI widgets
  • Step 4 - modifying various existing files
  1. Managing tutorial samples

KendoUI-skeleton-esnext

PreviousManaging tutorial samplesNextKendoUI-skeleton-esnext-aspnetcore

Last updated 7 years ago

Managing tutorial samples

Sample 1 - KendoUI-skeleton-esnext

| | |

Step 1 - add KendoUI bridge

Assuming that the original source code was successfuly built and executed by

npm install && jspm install && gulp watch

the KendoUI bridge is added by running

jspm install aurelia-kendoui-bridge

Step 2 - add source code using KendoUI bridge

This sample uses module loader and adds two "widgets" Autocomplete and Button from package to the standard Skeleton-esnext application, by adding the to the original application's src folder.

This added folder's content is:

Step 3 - add KendoUI widgets

Step 4 - modifying various existing files

<!-- Kendo-SDK files -->
<script src="kendo-sdk/js/jquery.min.js"></script>
<script src="kendo-sdk/js/jszip.min.js"></script>
<script src="kendo-sdk/js/kendo.all.min.js"></script>

Note: the line <script src="kendo-sdk/js/kendo.all.min.js"></script> is a temporary placeholder - it will be replaced with kendo.custom.min.js created to include only KendoUI widgets actually used in the application.

  • Run jspm install bootstrap -o "{ dependencies: {} }"

Define the folder as the standard location for KendoUI widgets, so we need to create this folder and add the needed KendoUI code.

Step 4.1 -

Add these

Step 4.2 -

Add the reference to

Step 4.3 -

Add to

Original source code
Matching KendoUI sample
JSPM
KendoUI Core
kendoui folder
autocomplete
autocomplete.html
autocomplete.js
button
button.html
button.js
button.css
kendo-sdk
index.html
three scripts
package.json
aurelia-kendoui-bridge
Changes to prevent JSPM from loading JQuery
this line
config.js