- 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.
- Java程序設計(慕課版)
- PyTorch Artificial Intelligence Fundamentals
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- 深入理解Java7:核心技術與最佳實踐
- 軟件工程
- Expert Data Visualization
- Mastering Linux Network Administration
- Python深度學習:模型、方法與實現
- 用戶體驗可視化指南
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Windows Embedded CE 6.0程序設計實戰
- Mastering C++ Multithreading
- MINECRAFT編程:使用Python語言玩轉我的世界
- Webpack實戰:入門、進階與調優(第2版)
- JavaScript編程精解(原書第2版)