svelte-native-demo

Svelte Native Demo

Simple Svelte Native demo that contains a fun colours game

Svelte Native Demo

Small svelte native demo that contains a simple counter component and a simple colours game

Initial Svelte Native setup with android environment

  1. Install node
  2. Install JDK version 8 or greater
  3. Install Android Studio and configure ANDROID_HOME environment variable[^1]
  4. Install NativeScript CLI globally
  5. Run ns doctor android to verify the environment
  6. You're good to go!

[^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

Create a new Svelte-Native app

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

Clone and try this demo

Install depencies and start

$ npm install
$ ns run android


Have fun with Svelte Native!

Top categories

Loading Svelte Themes