-
-
Notifications
You must be signed in to change notification settings - Fork 197
[Feature Request] Interactive tns create
#3829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tns create
tns create
Sounds great! One suggestion - perhaps instead of |
LGTM! Just a few notes about the vue template: I'm not sure if we can add vue with the current vue setup, because right now we are scaffolding new projects using vue-cli. There is a new version of the template on the next branch which has been simplified and is structured more like a typical NS app. We could make this a normal NS template but we would loose some of the prompts we have with vue-cli. We are also working on a vue cli 3.x plugin which will abstract the webpack setup away, so that it can be managed as a dependency (easier upgrades in the future), and I'm not entirely sure if we can have that work as both an NS template, and a vue-cli plugin (needs some researching on my end). |
@NickIliev This is also an option but we thing that TypeScript gives more benefits to the development and that's why we would like to promote is THE option for None framework. There will be still an option to create a JavaScript project using the |
@rigor789 I realize that with Vue currently we don't have these templates and we need to think how to achieve it. It would be nice to find some solution and give the Vue framework visibility through the |
Sounds great! I would add the |
I'm also for TypeScript/JavaScript option, but it should be the next step for Vue/None, not instead of None. Vue landscape has TypeScript but it is not predominant like for Angular. |
Love this initiative! My feedback:
|
+1 for @NickIliev comment |
+1 for @tjvantoll comment too -- people would love more descriptive choices :) |
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--ng
,--tsc
are available to create the project in TypeScript or Angular flavor (tns create MyApp --ng
,tns create MyApp --tsc
)Proposed Behavior
Provide an interactive
tns create
command as follows:If Angular framework is chosen, the Blank option should be split in two:
Choosing
None
will create the project in TypeScript flavor.All existing options will continue to work as is. In addition,
--js
should be added to allow the creation of a JavaScript project directly--vue
should be added to allow the creation of a Vue.js project directlyThe text was updated successfully, but these errors were encountered: