-
-
Notifications
You must be signed in to change notification settings - Fork 23
Running the 'demo' app
An demonstration app that showcases all of the available features of the plugin is located in 'demo' folder of the repository.
The demo application is linked to the source code of the nativescript-fresco plugin, which means that you will need to make sure that that source code is ready for and executable as a stand alone {N} plugin. To do that simply make sure that all of the required by the plugin npm packages are present in the folder under "node_modules". Simple execute the following command in the root of the reposotiry (where the nativescript-fresco.ts file is located):
npm i
After that go to the 'demo' folder and simply start the app via:
tns run android
The demo application contains both the Vanila {N} and {N} + Angular source code which means the same app can be ran for both. By default running the app will lead to running the vanila version, if you want to run the app under Angular simply change the main
in the package.json here.