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 page, such as for a home page, category page, product description page, 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 page with the Yeoman generator, enter the following command on the command line:

yo adaptivejs:view

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


Next, add your new page to the Router.

Edit in GitHub