Creating a Navigation App

The easiest way to create a single-page app that contains multiple pages is to take advantage of the Visual Studio Navigation App project template (see Figure 12.3). There are several differences between this template and the Blank App template.

Image

FIGURE 12.3 Creating a navigation app

First, the Navigation App template contains a pages folder. The pages folder contains all of the Page controls that represent the pages in your application. Each Page control is contained in a separate subfolder of the pages folder.

The Navigation App template includes a pages/home folder that contains a Page control that represents the home ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.