Complete the code to enable pre-rendering in Angular.
export const prerenderConfig = { routes: ['[1]'] };The routes array should contain paths starting with a slash for pre-rendering.
Complete the code to import the pre-rendering module in Angular.
import { [1] } from '@angular/platform-server';
ServerModule is imported from '@angular/platform-server' to enable server-side rendering and pre-rendering.
Fix the error in the Angular pre-rendering configuration.
export const prerenderConfig = { routes: ['[1]'] };Routes must start with a slash '/' to be valid for pre-rendering.
Fill both blanks to configure Angular pre-rendering with routes and output path.
export const prerenderConfig = { routes: ['[1]'], outputPath: '[2]' };The routes array should have valid route paths starting with '/'. The outputPath is usually 'dist/browser' for static files.
Fill all three blanks to set up Angular pre-rendering with routes, output path, and prerender builder.
export default { builder: '[1]', options: { routes: ['[2]'], outputPath: '[3]' } };The builder for pre-rendering is '@angular-devkit/build-angular:prerender'. Routes need leading slashes. The outputPath is a folder for static files.