TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link
angular angular-cli nativescript seed typescript webpack

Angular NativeScript Seed

Build truly web and native applications using NativeScript and Angular. This seed allows your project to share code between the environments; having complete control over dependencies.

Highlights

Extension Platform
.{html/scss}                   Recommended for Web. Does apply to both platforms when .tns equivalent does not exist.
.tns.{html/scss}               Only for mobile
.tns.ios.{html/scss}   Only for iOS
.tns.android.{html/scss} Only for Android
.tns.ios.phone.{html/scss} Only for iOS Phone
.tns.android.phone.{html/scss} Only for Android Phone

Getting Started

Web is setup from the root.

npm i

Mobile is setup from the nativescript folder.

cd nativescript
npm i

Each platform is run respective to it's folder. View available commands here:

How To's

Workspace Options

Web Preview Native Preview

Contributors

Don Burgess Sean perkins
Don Burgess Sean Perkins