17 Answers, 1 is accepted
Hello Adam,
Currently selection cannot be persisted with the custom download build tool. You can use the grunt builder and persists the selection there. How to build custom distribution with grunt is explained in the following README:
https://github.com/telerik/kendo-ui-core
Regards,Kiril Nikolov
Telerik
Hello Adam,
You can use Grunt to build the non-opensource version of the product as well. The approach is the same. You just need to have the required files available on your machine.
Regards,
Kiril Nikolov
Telerik
The professional version 2016.1.112 released today doesn't include the Gruntfile.js anymore. I was using the Grunt to run grunt custom task in a child process and unfortunately that is now broken. I thought I was doing something wrong as the documentation http://docs.telerik.com/kendo-ui/intro/installation/what-you-need still states Grunt should be used. When I checked the /src folder I saw it was replaced by Gulp.
Hello Darlesson,
Grunt was replaced by Gulp in the latest release, this is why we ship gulpfile.js now. We have updated the README of the repository as well. We have also added note in the breaking changes documentation page:
http://docs.telerik.com/kendo-ui/backwards-compatibility/2016/2016-backward-compatibility
Regards,
Kiril Nikolov
Telerik
I've tried building the telerik.kendoui.professional.2016.2.504.commercial-source.zip files using gulp and I'm consistently getting errors. A newer gulp version is out, which is easy to fix, but this one is consistent on both Linux and Windows. Any ideas?
/home/scott/src/kendouipro/src/gulpfile.js:83
.pipe(uglify, { compress, mangle, preserveComments: "license" })
^
SyntaxError: Unexpected token ,
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:193:16)
at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:185:9)
Which gulp version are you using? What is the version of the gulpfile, is it the latest one?
Regards,
Kiril Nikolov
Telerik
I've got gulp 3.9.1 installed globally and the gulpfile.js is the one that came with the source code. I've attached a zip containing the gulpfile.js, npm-shrinkwrap.json and package.json files. There didn't seem to be any kind of version number in the gulpfile.js I could reference.
Note that the latest version is available here:
https://github.com/telerik/kendo-ui-core/blob/master/gulpfile.js
and it is different than the one in the file that you sent.
Regards,
Kiril Nikolov
Telerik
I was still having issues so I created an Ubuntu 16.04 VM using VirtualBox and followed the instructions on this page to build the free
core version of Kendo UI...
https://github.com/telerik/kendo-ui-core
Which worked. One thing I had to do was setup a symbolic link for nodejs (sudo ln -s /usr/bin/nodejs /usr/bin/node) but mostly it went very smooth.
I then took a copy of the professional version and ran...
- npm install
- gulp less
- gulp custom -c autocomplete,dropdownlist
...which worked without issue.
Why this worked when nothing else I tried did? I don't know, but I thought I would put my experience here so that if someone else has this issue it may help them.
Thanks for sharing Scott! It will really be helpful for the other I am sure.
As for why it did not work - it might be something in your machine configuration or the node version that you are using.
Regards,
Kiril Nikolov
Telerik
Currently this is not possible, however you can submit it as a feature request in our feedback portal, so it can be considered for future improvement.
Regards,
Kiril Nikolov
Telerik by Progress
I'm using angularjs together with kendo ui
I tried the suggested way : gulp custom -c autocomplete,dropdownlist
It creates a customized kendo.custom.min.js file, but when trying to use it, the application throws error that it don't find the kendo.directives.
So is the gulp custom task useable with angularjs?
How we say that the gulp task must include the needed angularjs kendo code?
Regards
You need to include the angular directives as well:
gulp custom -c angular,autocomplete,dropdownlist
Regards,
Kiril Nikolov
Telerik by Progress
That sounds so obvious, why didn't I think about it myself.
It is now working, thanks,
I am glad to hear that the issue is resolved.
Regards,
Kiril Nikolov
Telerik by Progress