NativeScript Angular

tns generate


Modifies the project by executing a specified schematic to it.


Usage Synopsis
General $ tns generate <Schematic Name> [--collection <Collection>] [option=value]


  • --collection - specifies the node package to be used as schematics collection. If it's not specified, @nativescript/schematics will be used.


  • <Schematic Name> - name of the schematic to be executed. The schematic should be specified in the used collection.
  • <option=value> - options for executed schematic.
Command Description
update Updates a NativeScript project to the latest (or specified) version.
resources generate icons Generates icons for Android and iOS.
resources generate splashes Generates splashscreens for Android and iOS.