This sample application uses the Kentico Cloud Delivery TypeScript SDK to showcase how you can use the SDK in Javascript applications.
- NodeJS
- NPM > 3
Clone / download this repository, navigate to the root folder of this package and install node packages:
npm i
npm start
Your browser will open http://localhost:99/
To use the Typescript SDK for Kentico Cloud you first need to prepare it for usage in your browser. For this you need to compile cloud-api.js
with browserify
:
browserify cloud-api.js -o bundle.js
You might need to install browserify like this:
npm i browserify -g
Note: If you don't see any changes after refreshing your browser, use CTRL + F5 to flush the browser's cache.