GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - manojdcoder/nativescript-angular: Integrating NativeScript with Angular

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,019 Commits
1,019 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
build
build
 
 
doc
doc
 
 
nativescript-angular
nativescript-angular
 
 
ng-sample
ng-sample
 
 
tests
tests
 
 
.ctags-exclude
.ctags-exclude
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
NativeScript-dependencies.md
NativeScript-dependencies.md
 
 
README.md
README.md
 
 
build-doc-snippets.sh
build-doc-snippets.sh
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Build Status

Integrating NativeScript with Angular.

Running locally

Prerequisites

Install your native toolchain and NativeScript as described in the docs:

https://docs.nativescript.org/setup/quick-setup

Install dependencies

$ cd nativescript-angular
$ npm install

Run the sample application (ng-sample)

Install NPM packages (use the local copy of nativescript-angular):

$ cd ng-sample
$ npm install
$ npm install ../nativescript-angular

Start the app:

$ tns run android
$ tns run ios

Running the tests

Install NPM packages (use the local copy of nativescript-angular):

$ cd tests
$ npm install
$ npm install ../nativescript-angular

Start test run:

$ tns test ios --emulator
$ tns test android --emulator

Developer workflow:

Setup:

Use npm link to link nativescript-angular in tests and ng-sample progects:

cd nativescript-angular
npm link
cd ../ng-sample
npm link nativescript-angular
cd ../tests
npm link nativescript-angular

Work

  1. Make changes to the test, ng-sample projects or in nativescript-angular folder.
  2. Run the tests or ng-sample using as shown above.

Watch the video explaining Angular and NativeScript

NativeScript session on AngularConnect conference

Explore the examples

The ng-sample app is meant for testing stuff while developing the renderer code, and isn't the best example out there. You can take a look at these sample apps that use the published builds from npm:

  • Hello world starter
  • TodoMVC sample implementation

Known issues

  1. There are certain issues with the Parse5DomAdapter and we'll likely need to provide our own later on:
  • Self-closing elements (<Label text="Name" /><Button text="Save" />) get parsed wrong (in this case Button gets parsed as a Label child.

About

Integrating NativeScript with Angular

docs.nativescript.org/angular/tutorial/ng-chapter-0

Resources

Readme
License

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.