K
K
kolyalesha2016-09-23 13:54:58
JavaScript
kolyalesha, 2016-09-23 13:54:58

Is it possible to create web and mobile app in one project ( angular2 & nativeScript )?

Hello. I am interested in the question, if I want to create a web application on ng2 and a mobile application on ng2 + nativeScript, how can I do this? Create separate files for web and mobile view (html and xml) and connect the necessary ones during assembly (the same with directives)? Or will web and mobile have more significant differences and will two independent applications need to be written? Or is it possible to somehow get a web app from ng2 + nativeScript?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
M-ka, 2016-09-27
@M-ka

It all depends on what will be there .... sometimes for mobile versions the file changes by cutting it out ... Then it makes sense to make 2 different versions so that the mobile one is lightweight BUT it is more and more relevant to make a single box and then only change the display ... Which can be limited, for example, to making changes only to the layout itself and no more .... In general, it all depends on the specific task, what should work on what and how to display ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question