Skip to content

angular material 2 support in this template? #402

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

Closed
chencingyen opened this issue Sep 6, 2017 · 11 comments
Closed

angular material 2 support in this template? #402

chencingyen opened this issue Sep 6, 2017 · 11 comments

Comments

@chencingyen
Copy link

in the FAQ of the read me of this project you stated that

How do I Material2 with this repo?

You'll either want to remove SSR for now, or wait as support should be coming to handle platform-server rendering.

https://github.com/MarkPieszak/aspnetcore-angular2-universal#how-do-i-material2-with-this-repo

and in this tweet you said that angular material now support angular universal....
image

can i get more detail on this?

btw i am having difficulty for importing angular animation to use together wigh pre-rendering.... can you help also?
thank in advanced

@peterdobson
Copy link
Contributor

peterdobson commented Sep 6, 2017

I've been using material2 with this repo for months with SSR on albeit with some workarounds that for the most part have been able to remove with the latest material 2.0.0-beta.10.

Have you moved:

import 'hammerjs';

from app.modeule.ts to boot.browser.ts?

@chencingyen
Copy link
Author

not yet... let me try it @peterdobson thanks :)

@peterdobson
Copy link
Contributor

Moving hammer solved some console errors for me, but what browser animations are not working? Any specific errors?

@MarkPieszak
Copy link
Member

Did you get it working? @chencingyen Apologies I'm escaping the hurricane at the moment 👍

@naveedahmed1
Copy link

naveedahmed1 commented Sep 9, 2017

@MarkPieszak can we have a simplified version of this template? with just angular, angular material, lazy loading, server side pre-rendering and seo.

@MarkPieszak
Copy link
Member

It's in the works, it'll be a little bit simpler soon with PRs (or branches) that show the diff of adding a specific feature. Currently fleeing he hurricane so might be a week or two before I can get anything in there unfortunately. 😓

@naveedahmed1
Copy link

Thank you so much @MarkPieszak for quick reply. Stay safe :)

@tawsif93
Copy link

Material 2 works for this repo. @MarkPieszak

@chencingyen
Copy link
Author

@MarkPieszak thanks for you support :)
but right now I am using https://github.com/aspnet/JavaScriptServices i managed to work with angular material 2. i think it will work with this repo the same way :)

anyway @MarkPieszak stay safe

@MarkPieszak
Copy link
Member

Yes they're meant to be fairly similar now, you should be able to transition around & take things from either easily! GL!

@odahcam
Copy link
Contributor

odahcam commented Dec 4, 2017

What exactly you have done to use Material 2 with this repo? :)

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

6 participants