You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Components that have separate html and css files and reference them via templateUrl and styleUrls do not prerender but client-side still loads i.e. this doesn't work:
@Component({
selector: 'app',
templateUrl: 'path/to/my/template.html',
styleUrls: ['path/to/my/stylesheet.css'],
})
But this does:
@Component({
selector: 'app',
template: `
<div>Here is my template</div>
`,
styles: [`
.classy {
background: red;
}
`],
@jongood01 has reported this issue in the universal-starter
see issue here: angular/universal-starter#43