Installation and programming
The following are the series of steps involved in Knockout.js installation and usage:
- Create a new web application in NetBeans using the optionsÂ
File
|New Project
. This opens theNew Project
wizard, as shown in the following screenshot:
- Press
Next
to provide the name and location of the project, as shown in the following screenshot:
- Enter the
Project Name
and select theÂNext
option to select the site template; chooseNo Site Template
, as shown in the following screenshot:
- Click theÂ
Next
button to select the build package tools includingpackage.json
,bower.json
,Gruntfile.js
, andgulpfile.js
, as shown in the following screenshot:
- Click on
Finish
to create the project and show theindex.html
page, as shown in the following screenshot:
- Right-click on the
Site Root
folder and chooseNew Folder
to create a directory for JavaScript files, as shown in the following screenshot:
- Download the latest version of Knockout.js (3.4.2 at the time of writing), which is available for...