This is a migrated thread and some comments may be shown as answers.

Using the @progress/kendo-ui npm package

3 Answers 392 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 25 Sep 2017, 04:57 PM

Hi, I currently have an app which is using Kendo UI by referencing the CDN hosted minified js file (https://kendo.cdn.telerik.com/2015.2.624/js/kendo.all.min.js).

I would like to incorporate kendo into my build script to only package the modules that I am using (kendoAutoComplete) into a single local js file that I can then reference in my application. I have tried building using webpack but the resultant file does not seem to work as the CDN hosted file did.

How can I compile the required modules inside the npm package into a standalone js file that I can reference as per the CDN hosted file?

Note: I do *not* want to have to modularise/rewrite my application to make it work with webpack...

3 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 27 Sep 2017, 11:52 AM
Hello,

This article should hold all the information you need to achieve the desired result:
http://docs.telerik.com/kendo-ui/intro/installation/what-you-need

If you stumble into any issues, or need further clarifications on a particular issue, don't hesitate to write back.

Regards,
Bozhidar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Alexander
Top achievements
Rank 1
answered on 24 Oct 2018, 10:27 PM

Hi,

I'm using libman in Visual Studio 2017. I've read that we can use unpkg to reference npm packages. Any idea how I can refer @progess/kendo-ui

 

Thanks

0
Bozhidar
Telerik team
answered on 25 Oct 2018, 06:42 AM
Hi,

You can use unpkg, but only for projects on the public (free) npm. Since Kendo UI Professional requires a license, and credentials, it's not available on unpkg.

Libman uses cdnjs, which is similar, but still only serves public npm packages, so it's not an option.

In order to use Kendo UI Professional it with libman, you would need to have it downloaded on the file system (using npm or manual download), and then use the option to load files in libman from the file system.

Hope this is helpful.

Regards,
Bozhidar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or