Oracle JET provides a command line interface to help create a new application for you. To install and create an Oracle JET application, install Node.js (LTS release recommended) on your local machine and then run the following commands from a console window:
npm install -g @oracle/ojet-cli
Change to the directory that you want to create your application in and type:
ojet create <app name> --template=navdrawer
This will create an application using the Oracle JET Web Starter Template, NavDrawer.
If you would like to use TypeScript, simply add --typescript
to the end of the above command. It will generate any of the base templates using TypeScript instead of JavaScript.
If you are working with TypeScript as your primary language, you can use the Type Definitions available for all of JET UI and framework features. To scaffold a JET application using TyepScript, simply add the --typescript
argument to the end of the command line create
command.
If you are using Visual Studio Code from Microsoft as your primary editor, a VSCode Extension for JET Core is now available.
Installation:
NOTE: Chrome browsers will rename the extension to .zip for you. Rename the extension to .vsix before continuing.
The following libraries are presented for archival purposes only. These libraries should be installed via the appropriate NPM or Cordova tools. Downloading from this location will not provide proper installation. Please visit the Oracle GitHub pages for details on how to use the below libraries.