Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 740 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 740 Bytes

TypeORM Example For Nativescript Angular

A Simple Example to demonstrate the typeorm library using Nativescript and Angular. I may have added RadListview also :)

Note: This works only with NativeScript 4.x and above

The typeorm/browser package is raw ES7 code with import/export which will NOT run as it is. It has to be bundled, therefore using webpack is compulsory.

So please make sure you are using {N} in bundle mode. if webpack is not installed, then

tns install webpack

Install nativescript-sqlite

tns plugin add nativescript-sqlite

Install typeorm

npm install typeorm

You may need to install node typings:

npm install @types/node --save

Demo

demo