tree: dbb51d3184a8b5715526c09199fc7eeae3ad8de6 [path history] [tgz]
  1. components/
  2. content/
  3. package.json
  4. README.md
src/main/resources/libs/esx/demo/README.md

Apache Sling ESX Quick Demo

This is a simple application demonstrating some of the ESX script engine possibilities and ideas how to use it.

In future we want to switch to full ES6 syntax.

The demo purpose of this demonstration is to show the usage of npm libraries.

following NPM modules are demonstrated:

  • “handlebars”: “^4.0.6”,
  • “highlight.js”: “^9.10.0”,
  • “marked”: “^0.3.6”,
  • “moment”: “^2.18.0”,
  • “underscore”: “^1.8.3”

Installation

  • switch to directory src/main/resources/libs/esx/demo
  • run: npm install
  • go back to package root directory
  • run mvn clean install sling:installĀ“

open the page /libs/esx/demo/content/demo.html