3
私は角度のあるユニバーサルで遊んでいましたが、ホームページのような一部のページでのみサーバサイドレンダリングを使用し、他のすべてのルートを標準的な角度の方法でレンダリングするオプションはありません。私は、SEOが必要ないプライベートページにサーバー側レンダリングを使用したくありません。サーバーでは、真の一部のルートのみの角度ユニバーサルレンダリング
const appRoutes: Routes = [
//public route, I want server rendering for SEO
{ path: 'home', component: HomeComponent, serverSide: true },
//private user profile page, SEO is not needed
{ path: 'user/profile/:id', component: UserProfileComponent },
];