update instructions in readme

This commit is contained in:
Evan Moore 2018-05-07 14:05:08 -04:00
parent 91e06e06d3
commit ad9a3bd515

View File

@ -1,12 +1,17 @@
# cordova-zebra-printer
A Cordova plugin for Zebra printers for both iOS and Android with Ionic 3 bindings
Get from npm
```
cordova plugin add ca-cleversolutions-zebraprinter
```
or get the latest version from git
```
cordova plugin add https://github.com/cleversolutions/cordova-zebra-printer.git
```
To use with Ionic 3
I've not published this to cordova plugin registry yet so clone this repo somewhere then in your project
ionic cordova plugin add /path/to/this/plugin
Add the Ionic 3 bindings to your app.module.ts file
```
import { ZebraPrinter } from 'ca-cleversolutions-zebraprinter/native';