📺 "One project. One language. Three apps." Learn more in our upcoming code sharing webinar!

NativeScript Sidekick

Create 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.