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

Please we need a working example for Angular 2, current example doesn't work... #88

Closed
born2net opened this issue May 11, 2016 · 3 comments

Comments

@born2net
Copy link

born2net commented May 11, 2016

Please we need a working example for Angular 2, current example doesn't work...
this project is outdated: https://github.com/capaj/jspm-ng2
and I can't get it working, I get errors about paths being wrong as well as traceur which is no longer used (installed TS) and bunch of other errors.

Any examples? Tutorials or any info on getting 0.17 jspm working with up to date angular 2 build would awesome!!!

reagrds

Sean

@capaj
Copy link
Collaborator

capaj commented May 14, 2016

@born2net sorry, I have been busy. I have looked at it now and was able to quickly fix it in capaj/jspm-ng2@bf2edbe. Don't expect a lot of support on angular 2 from me, as I use React in my day 2 day job.

@capaj capaj closed this as completed May 14, 2016
@born2net
Copy link
Author

born2net commented May 14, 2016

Great it's working, TX. Do you know if we can use hot reload (or your project) with TypeScript? Will the setup be the same as TS will need to be compiled in the browser, not sure if hot reload will support that, tx again.

@born2net
Copy link
Author

born2net commented May 14, 2016

so I tried to move to TS, but no luck, I forked the project here:
https://github.com/born2net/jspm-ng2
and modified the config.js to load TypeScript instead but the app is angry at me now, failing with:

system.js:4 Uncaught (in promise) Error: SyntaxError: Unexpected token <(…)

it is failing within:

System.import('capaj/systemjs-hot-reloader').then(....

if we can get it working it would be awesome as we would have a hot-reload example with TypeScript and I will maintain it with Angular2 / TS updates

TX

Sean.

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

2 participants