Package Exports
- @progress/kendo-angular-l10n
- @progress/kendo-angular-l10n/dist/es/component-messages
- @progress/kendo-angular-l10n/dist/es/localization.service
- @progress/kendo-angular-l10n/dist/es/main
- @progress/kendo-angular-l10n/dist/es/message.service
- @progress/kendo-angular-l10n/dist/es/rtl
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@progress/kendo-angular-l10n) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Kendo UI for Angular: Localization
A starter repository for Kendo UI Angular components, which provides the basic directory structure and dependencies.
WARNING
The current test setup is extremely brittle and (mostly) based on the AngularClass starter repository. There are several very ugly things, we hope that these will be gradually cleared as the framework matures.
Overview
- The
srcdirectory contains the component source code. All files should have the.tsextensions so that the build scripts can pick them. - The
src/main.tsfile should import and re-export all public entities of the package. It is used for thebuild-cdntask. It is also the main entry point for the NPM package (as specified by thepackage.json). Thebuild-npm-packagetranspiles it todist/npm/js/main.js. - The
src/kendo-component.tsfile is the actual sample component implementation. - The
src/util.tsis an optional example of an additional file. If unnecessary, remove it. - The
examplesdirectory hosts the demos for the component. As a bare minimum, the component should have a Basic Usage and a CDN example. The CDN example should work as expected after thebuild-cdntask has been run. - The
testdirectory contains the component tests. They are transpiled just like the source code itself and run with Jasmine in Karma (PhantomJS). - The
e2edirectory contains the end-to-end tests. They are transpiled and run with Jasmine in Karma (Google Chrome). - The
docsdirectory contains markdown files that document the specifics of the component.
Basic Usage and Installation
- Fork the repository to an appropriately named new one.
- Change the package name/description in
package.json. Change the reference to the theme package. - Change the library name in
gulpfile.js. - Change the name of the
src/kendo-component.tsfile to something more meaningful. - Delete the current contents and put something nice in
README.md.
Gulp Tasks
Remember to run
npm installandnpm run typingsbefore using the Gulp tasks.
build-npm-package—Builds the scripts and styles indist/npmin a CommonJS format.build-cdn—Builds the scripts and styles indist/cdnin a UMD format.start—Starts the webpack-dev-server. It is suitable for example previews, development, and testing. Accessible on http://localhost:3000.docs—Starts the documentation site for the current component. Accessible on http://localhost:8082test—Runs the tests with Jasmine in Karma/PhantomJS.watch-test—Runs the tests in the watch mode.e2e—Runs thee2etests with Jasmine in Karma/Google Chrome.