Open marcinwojtach opened 5 years ago
@KingDarBoja Hi! Can you please share what is the current progress? When could new version be delivered? Sorry for pushing you but I really need some help with this. Cheers!
Hello @mmiedzianyy
I do think it is not possible at the moment since you are using multi-projects on you angular.json
file and this package can't handle (yet) such configuration.
However, I remember @maciejtreder doing some work on that topic.
Thanks for your reply @KingDarBoja.
Maybe I would have to consider splitting up applications on different projects...
It is better as each project would have its own configuration. I do think it is possible to implement such thing with Angular Universal packages but haven't seen any example on the web.
I do agree.. It's very hard to implement angular universal for multiple apps in one project. I've tried to omit ng-toolkit and do my own SSR with packages I've found on the web, but with no luck.. The configuration would have taken too much time and I guess - as you suggested - it will be better to split it up. I'll try to install current version of ng-toolkit on a fresh project and if I'll be successfull, will copy the projects separately.
I'm submitting a...
In package
Current behavior
I'm trying to add universal toolkit to existing Angular 8 project. I've managed to install the package by installing separate packages, like so:
But this shouldn't be the case.
Expected behavior
Run
ng add @ng-toolkit/universal@8.0.3 --save
in the terminal to install server-side rendering for Angular.Minimal reproduction of the problem with instructions
As above, trying to run
ng add @ng-toolkit/universal@8.0.3 --save
causes an errorExample repository
Sadly, I can't share the repository but I will post my package.json and angular.json files.
What is the motivation / use case for changing the behavior?
Environment