IonicFramework  
Suche: 

Kinder

Informatik und Computer

Elektronik

Segeln

Musik

Lego

Kochen

4x4 Wohnmobil

4x4 Wohnmobil V2.0

Andere Basteleien

Linksammlung

Projekte

Merkzettel

Impressum


User
Password

ionic framework

https://ionicframework.com/

Installation

npm install -g @ionic/cli

Create project

ionic start {APPNAME} {TEMPLATE NAME}

As template you can use: - tabs

Create page

ionic generate page contact

local testing

To run the app in development envirinment, you have to move into the directory of the project

cd {APPNAME}
ionic serve 

When using the additional parameter --external you can access the app from another machine.

release

troubleshooting

ENOSPC: System limit for number of file watchers reached

The meaning of this error is that the number of files monitored by the system has reached the limit!! Result: The command executed failed! Or throw a warning (such as executing a react-native start VSCode)

Edit file /etc/sysctl.conf and add the following line at the bottom:

fs.inotify.max_user_watches=524288

Execute command in shell:

sudo sysctl -p