Small svelte native demo that contains a simple counter component and a simple colours game
ns doctor android
to verify the environment[^1]: This is an optional step, however it provides an easy-to-use interface for installing Android SDKs and an Android emulator.
For more information, check the official NativeScript documentation:
NativeScript Linux tutorial
NativeScript Windows tutorial
NativeScript MacOS tutorial
After installing all the necessary tools and resources, create a new project
$ ns create myapp --svelte
$ cd myapp
Configure and start an Android emulator using Android Studio and run the app
$ ns run android
Install depencies and start
$ npm install
$ ns run android
Have fun with Svelte Native!