Angular 8 universal server side rendering

Kam*_*uen 2 server-side-rendering angular-universal angular

I am following this tutorial https://blog.angular-university.io/angular-universal/ but I couldn't execute the first command

 ng generate universal --client-project -the name of your client project-
Run Code Online (Sandbox Code Playgroud)

the error is

Target name already exists.
Run Code Online (Sandbox Code Playgroud)

any suggestions or if anyone has a better solution to implement angular universal on an existing angular project?

Ste*_*pUp 5

尝试使用=符号运行您的命令:

ng generate universal --client-project=YourApplicationName
Run Code Online (Sandbox Code Playgroud)