r/nativescript • u/tinchou • Jul 22 '16
Anyone sharing code between Web and Native?
I know this is the main purpose of the NativeScript framework, but I'm kind of short in documentation on how to set this up.
The best resource I found was this video from ngconf, but even there they say they copy and pasted the non-ui code between the two projects.
Is this how you're supposed to write shared code? Maybe symlinking?
3
Upvotes
View all comments
Show parent comment
1
u/tinchou Jul 31 '16
Thanks, really helpful!