kor TürkçeGitHub

Use Kor without a build step

Serve the compiled library next to an existing application.

Copy the library files

  1. Download kor-ui.zip and unpack it.
  2. Copy the full kor/ui directory to the application server. Keep the JS modules, message bundles, stylesheet and assets together.
  3. Map the UI5 resource root kor.ui to that directory. Keep your application's existing resource roots and library dependencies.
<script id="sap-ui-bootstrap"
    src="/resources/sap-ui-core.js"
    data-sap-ui-async="true"
    data-sap-ui-compatVersion="edge"
    data-sap-ui-libs="kor.ui"
    data-sap-ui-resourceroots='{"kor.ui": "./kor/ui/"}'>
</script>

Adjust the bootstrap URL to match the UI5 runtime on your server. If you use a manifest, add kor.ui to its libraries as shown in Getting started.

ABAP BSP and Launchpad

For a BSP application the same relative layout is a starting point. Upload the extracted files as static resources, use the existing SAPUI5 runtime and match the resource-root URL to the deployed directory. Check that JS, CSS, fonts and message bundles return HTTP 200 after deployment. ABAP BSP and Launchpad deployment: not tested.