Menu

Create a New Page

Work through this process to create a new web page for your mobile site adaptation.

Follow this process to create a new web view, such as for a home view, category view, product description page view, etc.


1. Open a new Terminal (Mac) or Command Prompt (Windows).

2. To change to your project directory, enter the following command on the command line:

cd path/to/project/directory

3. To create a new view with the Yeoman generator, enter the following command on the command line:

yo adaptivejs:view

This process creates your new view, template file, and UI script.


Next, add your new view to the Router.

Edit in GitHub