Peter Dobson

Results 8 comments of Peter Dobson

have you tried replacing : templateUrl: 'YourPath' with template: require('../YourPath') ?

There's an old branch with an example [here](https://github.com/MarkPieszak/aspnetcore-angular2-universal/tree/howto/auth)

try deleting the contents of node_modules, then doing an npm install, then doing a npm rebuild node- sass --force

I too would be interested in how to do this properly as I have struggled with some 3rd party components too (e.g. angular2-qrscanner), regardless of where i import the components...

> Have you guys tried wrapping them in a conditional ng-container with isBrowser (being a public prop on your component testing for isPlatformBrowser) on them? @MarkPieszak yep, I had previously...

See #544. It's OK to ignore the warning

Some of the 3rd party components I've tried just don't work well with SSR, regardless of whether you gate them with IsBrowser, and not familiar with ng2-tel-input but, does it...

Check out https://github.com/MarkPieszak/aspnetcore-angular2-universal#gotchas : > window, document, navigator, and other browser types - do not exist on the server - so using them, or any library that uses them (jQuery...