Create the First Jet project

Refer to: http://www.oracle.com/webfolder/technetwork/jet/globalGetStarted.html

Setup

Install Node.js 5+ andnpm and run the following commands:

npm -g install @oracle/ojet-cli

Create

Create the project under the folder you want to place it. Right-click on the folder and click on CMD Prompt Here, which will open CMD.

ojet create <project name> --template=navdrawer|navbar|basic|blank

Note: choose one of the templates from navdrawer|navbar|basic|blank based on the requirements.

Run

cd <project name>

ojet build

ojet serve

Go Mobile

npm -g install cordova

ojet create <project name> --hybrid --template=navdrawer --platforms=ios|android|windows

猜你喜欢

转载自blog.csdn.net/bettyHHUC/article/details/89705492
JET