aurelia-breeze icon indicating copy to clipboard operation
aurelia-breeze copied to clipboard

how to integrate aurelia-breeze into skeleton-typescript-aspnetcore(skeleton-navigation-1.1.1)?

Open evenlee opened this issue 8 years ago • 2 comments

I want to build an app with the skeleton-typescript-aspnetcore and use breeze. The skeleton works fine, but when I followed the aurelia-breeze guide to set breeze up, I used import breeze from 'breeze'; in a ts file, but got an error: cannot found module 'breeze', and then I googled for a while and found the d.ts file in dist folder(https://github.com/jdanyow/aurelia-breeze/tree/master/dist), but after adding the file, a new error- cannot find module 'breeze-client' - appeared, which came from the d.ts file. I checked the package.json, it has the both aurelia-breeze and breeze-client in dependencies section, but the typings.json not.

also, I found the content of aurelia-breeze.d.ts file is not similar as other index.d.ts file in typings folder(like: typings/modules/aurelia-binding/index.d.ts), they all have a typings.json file.

can you give me a hint how to make it work with the skeleton, thanks in advance.

evenlee avatar Nov 23 '16 08:11 evenlee

+1 I haven't been able to resolve this either. I think this relates purely to Typescript projects, whether you are using typescript skeletons or typescript cli.

dotnetrules avatar Dec 10 '16 03:12 dotnetrules

As far as I remember, I got it installed by using

typings install dt~breeze --save --global

And:

import * as breeze from "breeze";

Since I am not getting Breeze Server installed on ASP.NET Core 2.0 (any ideas on that?), I couldn't really test it yet.

IngoBleile avatar Nov 01 '17 17:11 IngoBleile