srnux / ng-aspnet-ef-core

.NET Core and Angular 2 playground
0 stars 0 forks source link

Enable Material 2 server pre-rendering with angular-universal #1

Open srnux opened 7 years ago

srnux commented 7 years ago

Material2 problems with Universal Exception: Call to Node module failed with error: ReferenceError: window is not defined at new ScrollDispatcher on buttons in navmenu https://github.com/angular/material2/issues/308

clbond commented 7 years ago

You can try angular-ssr instead. It provides applications that are being rendered with true window and document objects and it works with @angular/material. Location: https://github.com/clbond/angular-ssr