Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
evenlee opened this issue Nov 23, 2016 · 2 comments

Comments

@evenlee
Copy link

evenlee commented Nov 23, 2016

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.

@dotnetrules
Copy link

+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.

@IngoBleile
Copy link

IngoBleile commented Nov 1, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants