Closed mclouvem closed 8 years ago
@mclouvem I will probably add it soon, I was just waiting for it to be stable. I will test it out today.
@mclouvem I started the setup for it, but I hit a bump in the road for now.... Material Design 2 doesn't currently work with Universal, so that support needs to be added for me add Universal to this repo.
You can track the issue here: https://github.com/angular/material2/issues/308
hey @qdouble did you read that Patrick from AngularUniversal announced that AngularUniversal is now supporting Material2?
@mclouvem yes, it's more or less a webpack hack though rather than native support. I have it running, but seems to be some issues with md-input. I'll release initial implementation of it tonight though, I already have it up and running, just making tweaks and stuff.
@mclouvem I just added the basic setup for Universal. Currently, there is still an issue with md-input so I'm not using it in the repo right now. I still need to add support for AOT mode while using Universal and also look into using preboot and stuff like that so values that are entered before full load are saved. It's a WIP but the basic framework is there and I've tried to lay it the project in a way where I can update it and you could easily just insert your app folder to the updated seed.
@qdouble that's great! Thank you it was quick... I'll update my project today. Could you explain more about what's wrong with md-input?
It causes universal to have a circular JSON error. Should work smooth once material officially supports Universal though. On Sun, Sep 18, 2016 at 2:38 AM mclouvem notifications@github.com wrote:
@qdouble https://github.com/qdouble that's great! Thank you it was quick... I'll update my project today. Could you explain more about what's wrong with md-input?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qdouble/angular2webpack2-starter/issues/15#issuecomment-247837601, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ7seHJBwekweIFcDYOenj0Z6IKPMJStks5qrQaRgaJpZM4J_Mfk .
@mclouvem closing this as preboot runs fine, so Universal itself is working good. I'll ping you whenever the md-input thing is sorted out.
@mclouvem was talking with going back and forward with patrick in Slack and got him to fix the md-input bug in the latest update, so it's working fine now 😄
Thanks again @qdouble. You're working hard on this starter...
Hi @qdouble,
Now with Angular 2.0.0 and Angular Universal 2.0.0 is out, is there any plan to add it to this kit?
Or could you provide some guidance how to make it?