PeterStaev / nativescript-azure-mobile-apps

:cloud: NativeScript plugin for working with Microsoft Azure Mobile Apps services
Apache License 2.0
30 stars 10 forks source link

Angular import #26

Closed Cambia86 closed 6 years ago

Cambia86 commented 6 years ago

Hi @PeterStaev, sorry if can be a stupid question but i'm new on nativescript... I choose angular 5 with nativescript and can't import your plugin, it's says Module nativescript-azure-mobile-apps/client not found

Can you help me? Thanks

PeterStaev commented 6 years ago

Hey @Cambia86 , a new version was just released that should simplify the import and fix your problem. If it doesn't try adding this line to your file

/// <reference path="../node_modules/nativescript-azure-mobile-apps/azure-mobile-apps.d.ts" />
Cambia86 commented 6 years ago

Hi @PeterStaev, just try this way, i really don't understand

cattura

PeterStaev commented 6 years ago

I've just tried the new version in a an angular project and it works w/o the reference. Please update the plugin and then restart VS Code (as it sometimes give false positive as it does not refresh definitions for the installed packages.

PeterStaev commented 6 years ago

No further response so closing this one for now. In case you still have problems, please provide more details.