Aspnetcore-angular-universal: angular material 2 support in this template?

Created on 6 Sep 2017  路  11Comments  路  Source: TrilonIO/aspnetcore-angular-universal

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

Most helpful comment

Material 2 works for this repo. @MarkPieszak

All 11 comments

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?

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

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

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

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

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. 馃槗

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

Material 2 works for this repo. @MarkPieszak

@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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaklaCof picture MaklaCof  路  21Comments

alaatek picture alaatek  路  26Comments

ketrex2 picture ketrex2  路  18Comments

ORuban picture ORuban  路  15Comments

MarkPieszak picture MarkPieszak  路  41Comments