- NativeScript for Angular Mobile Development
- Nathan Walker Nathanael J. Anderson
- 181字
- 2021-07-02 18:41:47
Getting started
We are going to assume that you have NativeScript installed properly on your computer. If you do not, please follow the install instructions at https://nativescript.org. Once installed, we need to create our app framework using a shell prompt:
tns create TNSStudio --ng
The tns stands for Telerik NativeScript. It is the primary command-line user interface (CLI) tool you will use to create, build, deploy, and test any NativeScript app.
This command will create a new folder called TNSStudio. Inside is your primary project folder including everything required to build an app. It will contain everything relating to this project. After the project folder has been created, you need to do one more thing to have a fully runnable app. That's, adds the runtimes for Android and/or iOS:
cd TNSStudio
tns platform add ios
tns platform add android
If you are on a Macintosh, you can build for both iOS and Android. If you are running on a Linux or Windows device, Android is the only platform you can compile for on your local machine.
- Instant Node Package Manager
- Python從小白到大牛
- Leap Motion Development Essentials
- JavaScript 程序設計案例教程
- 程序是怎樣跑起來的(第3版)
- JavaScript應用開發實踐指南
- Building Serverless Web Applications
- jQuery for Designers Beginner's Guide Second Edition
- PHP+MySQL Web應用開發教程
- Learning Cocos2d-JS Game Development
- Learning Shiny
- Mastering Clojure
- JavaScript編程精解(原書第3版)
- 大象:Thinking in UML(第二版)
- Visual Basic程序設計