Live URL: https://anandpatel0123.github.io/clock/
Before you follow the steps below, make sure you have the Lightning-CLI installed globally only your system
npm install -g @lightningjs/cli
-
Install the NPM dependencies by running
npm install -
Build the App using the Lightning-CLI by running
lng buildinside the root of your project -
Fire up a local webserver and open the App in a browser by running
lng serveinside the root of your project
During development you can use the watcher functionality of the Lightning-CLI.
- use
lng watchto automatically rebuild your App whenever you make a change in thesrcorstaticfolder - use
lng devto start the watcher and run a local webserver / open the App in a browser at the same time
Use lng docs to open up the Lightning-SDK documentation.