Use Kor without a build step
Serve the compiled library next to an existing application.
Copy the library files
- Download kor-ui.zip and unpack it.
- Copy the full
kor/uidirectory to the application server. Keep the JS modules, message bundles, stylesheet and assets together. - Map the UI5 resource root
kor.uito 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.