Difference between revisions of "User:Saul/nativescript"
From Organic Design wiki
(link to homepage) |
(→Cloud) |
||
Line 4: | Line 4: | ||
== Cloud == | == Cloud == | ||
Building is probably best done on a server due to the need to install the android/ios sdk. | Building is probably best done on a server due to the need to install the android/ios sdk. | ||
+ | |||
+ | === Install === | ||
+ | Firstly ensure that npm is installed.<br> | ||
+ | <source lang="bash"> | ||
+ | npm install -g nativescript // Install the nativescript cli | ||
+ | sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386 // Install dependencies | ||
+ | // OR (If you encounter an error showing "Unable to locate package lib32bz2-1.0") | ||
+ | sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386 | ||
+ | sudo apt-get install g++ // Install the g++ compiler | ||
+ | </source> | ||
+ | |||
== Webpack Template == | == Webpack Template == | ||
The template I prefer to use is: nativescript-vue/vue-cli-template | The template I prefer to use is: nativescript-vue/vue-cli-template |
Revision as of 22:24, 8 July 2018
Nativescript is a framework for building native ios and android apps.
Setup
Cloud
Building is probably best done on a server due to the need to install the android/ios sdk.
Install
Firstly ensure that npm is installed.
npm install -g nativescript // Install the nativescript cli
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386 // Install dependencies
// OR (If you encounter an error showing "Unable to locate package lib32bz2-1.0")
sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 libstdc++6:i386
sudo apt-get install g++ // Install the g++ compiler
Webpack Template
The template I prefer to use is: nativescript-vue/vue-cli-template
vue init nativescript-vue/vue-cli-template <project-name>
cd <project-name>
npm install