-
Notifications
You must be signed in to change notification settings - Fork 820
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
Having problems setting component up #55
Comments
Hi, to be able to help you, I need to see your code. The best way is to create a plunker: http://plnkr.co/ Thanks! |
Hi @SebastianM, What I've tried to do is to create a blank angular2 project (based on the instructions on their site), and adding your component to my own component, by using Anything else I can do to help you help me? Thanks a lot and Merry Christmas (if you're celebrating it...) |
@nirarazi Ok great, than I know what your setup looks like. I've created a QuickStart project that is based on the Angular2 - 5 Min QuickStart guide. It uses NPM, SystemJS and TypeScript. So you can start with this project or compare what's missing in your project: https://github.com/SebastianM/angular2-google-maps-quickstart Let me know if that helps. |
Oh, I forgot to mention: The QuickStart project is based on todays release 0.5.0, which has some breaking changes. It's documented here: CHANGELOG.md |
Thanks a lot, @SebastianM!! |
I am quite a noob with ng2, but after npm installing the package, adding the import was not enough - directive wasn't rendered at all.
So, I tried importing the directives
ANGULAR2_GOOGLE_MAPS_DIRECTIVES
and adding them in my componentsdirectives
array. GotUncaught SyntaxError: Unexpected token :
error in the browser's console.So, I tried importing the providers
ANGULAR2_GOOGLE_MAPS_PROVIDERS
and adding them in my component'sproviders
array. Still same error in console.What am I missing?
Thanks!
The text was updated successfully, but these errors were encountered: