Reputation: 51
All available tutorials talk about converting Angular Web Apps to codesharing Nativescript projects. I want to do the opposite.
I almost finished coding the mobile app with Nativescript and now I wanna make the Web App with the code sharing in between both.
Upvotes: 3
Views: 282
Reputation: 2221
I did almost the same a couple of days ago, and while not exactly standard, my approach has been:
.tns.html
( probably you should rename SCSS/CSS files too, I didn't have any)app.module.ts
and app.module.tns.ts
to include the new components and any service. app.module.tns.ts
should very closely resemble the one of the mobile-only app.Upvotes: 0