ng-zorro-universal-starter
ng-zorro-universal-starter copied to clipboard
Ant Design of Angular Universal starter
NG-ZORRO Universal Starter
A NG-ZORRO starter for Universal using the Angular CLI
Installation
Run npm install
or yarn
Development
Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Pre-render
Run npm run build:prerender && npm run serve:prerender
. Navigate to http://localhost:8080/
.
Server-side Rendering (SSR)
Run npm run build:ssr && npm run serve:ssr
. Navigate to http://localhost:4000/
.