This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Add New Page
Nick Iliev edited this page May 28, 2020
·
1 revision
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.
- Launch NativeScript Sidekick and open your app.
- From the top toolbar, select New Page.
- Select one of the available templates - Blank, Login or Signup.
- Specify a Page Name. This value will be used to name the newly created folder and files.
- Select Create Page.
- (Optional) Use the View Files button to open the app folder of your project and inspect the generated folder and files.
- Introduction
- Get Started
- User Guide
- Logging in Sidekick
- Sidekick Settings
- Creating Your App
- Configuring Your App
- Adding Pages
- Code Signing You App
- Building Your App
- Running Your App
- Publishing Your App
- Troubleshooting