kentico-cloud-sample-javascript-app
v1.0.2
Published
Kentico Cloud Sample Javascript app
Downloads
14
Maintainers
Readme
Kentico Cloud Sample Javascript application
This package uses Kentico Cloud Delivery TypeScript SDK to showcase how it can be used in Javascript applications
Prerequisites
- NodeJS > 8
- NPM > 3
- Browserify
- http-server
Getting started
Install package
npm i kentico-cloud-sample-javascript-appRun it
Navigate to the root folder of this package with Node.js commant prompt and execute app script:
node appOnce the server is running navigate to http://localhost:99/
Making changes
In order to use Kentico Cloud SDK you need to first prepare it for usage in browser. For this you need to compile cloud-api.js with browserify:
browserify cloud-api.js -o bundle.jsNote: If you don't see changes after refreshing your browser, use CTRL+F5 to flush the browser's cache
