Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Add New Page

Nick Iliev edited this page May 28, 2020 · 1 revision

Add New Page

In NativeScript Sidekick, you can quickly generate new pages for your app by using a set of predefined templates. Currently, you can choose between the Blank, login and Signup templates, but we plan to introduce a lot more in the future.

When you create a new page, Sidekick will generate one HTML and several JavaScript or TypeScript files (depending on the project type) and place them in a newly created folder, which is located in the app folder of your project. To make the newly created page part of your application, you need to manually connect it to the existing code. For example, add the page in the navigation or place it as an initial view for your app.

Procedure

  1. Launch NativeScript Sidekick and open your app.
  2. From the top toolbar, select New Page.
  3. Select one of the available templates - Blank, Login or Signup.
  4. Specify a Page Name. This value will be used to name the newly created folder and files.
  5. Select Create Page.
  6. (Optional) Use the View Files button to open the app folder of your project and inspect the generated folder and files.
Clone this wiki locally