Same code Angular2 & NativeScript for web/mobile ?

Thread is closed for posting
2 posts, 0 answers
  1. Hachim
    Hachim avatar
    1 posts
    Member since:
    Dec 2016

    Posted 06 Dec 2016 Link to this post

    Hello !

    I just started learning NativeScript with Angular 2 and i was wondering is it possible to deploy 2 applications (one for the mobile and the other for the web) using the same project or should I create another project for each platform and copy/past the code with making some changes.

    I know this is a kinda dumb question but I need an answer to it because it drive me crazy.

    Thanks your very much for your answers !

  2. Nikolay Iliev
    Nikolay Iliev avatar
    312 posts

    Posted 07 Dec 2016 Link to this post

    Hello Hachim Jabri,

    Thank you for your interest in NativeScript! Your question is right on point as many web developers
    want to reuse their skills and code and create a common base for both mobile and web applications.

    The short answer to your question is Yes you can do it! However, this is not an out-fo-the-box task and needs some additional preparations. There are some great projects created by the community. If you are interested in this techniques I would recommend these links:

    Nikolay Iliev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top