-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
Current Behavior
The current behavior of tns create
command used to create a NativeScript project is described in details in our documentation. Here is how it works in short:
tns create MyApp
creates MyApp project using pure JavaScript- additional options
--ng
,--tsc
are available to create the project in TypeScript or Angular flavor (tns create MyApp --ng
,tns create MyApp --tsc
) - project can be created from a predefined template (Tabs, Master-Detail, SideDrawer, etc)
Proposed Behavior
Provide an interactive tns create
command as follows:
tns create MyApp
? Choose a framework
> Angular
> Vue.js
> None
? Choose a template
> Hello World
> Blank
> SideDrawer
> Tabs
If Angular framework is chosen, the Blank option should be split in two:
> Blank (Mobile)
> Blank (Web + Mobile)
Choosing None
will create the project in TypeScript flavor.
All existing options will continue to work as is. In addition,
- a new option
--js
should be added to allow the creation of a JavaScript project directly - a new option
--vue
should be added to allow the creation of a Vue.js project directly
mbektchiev, shiv19, VladimirAmiorkov, tsonevn, sitefinitysteve and 4 morevakrilov, sis0k0, shiv19, tjvantoll, sitefinitysteve and 2 more