DEV Community

Discussion on: Angular Libraries with Nx for Enterprise Apps

Collapse
 
ingsisjoseeduardo profile image
Ing. Jose Eduardo

529/5000
Excellent tutorial, very well explained.
But I have 2 doubts.

On the Nx page they use nx CLI instead of angular. Which do you recommend? I understand that nx cli is an extension of angular cli and the commands are the same.

My other question is the communication between applications. To mention an example, it could be a project made up of two or three applications, like going from one application to another application, without leaving the single page. I hope you give me tickets. Thank you.

PS: Excuse my writing. Use google translate.
:)

Collapse
 
ejeker profile image
Eric Jeker

You should use nx in the CLI.

I don't really understand your other question. You have one single page application that consist of multiple applications?

Collapse
 
devpato profile image
Pato

Hola Eduardo. No te entendi la seguna pregunta. La puedes escribir en Espanol :)

Collapse
 
ingsisjoseeduardo profile image
Ing. Jose Eduardo

Hola pato.
Mi duda es si es posible, navegar entre las rutas de diferentes aplicaciones en un solo compilado.

Ejemplo:
APP1 y APP2, cada una tiene sus rutas. hacer un navigate de APP1 hacia APP2 manteniendo el Single Page Application.

Investigando he encontrado que una aplicación se puede convertir a un webcomponent y utilizarlo en otras aplicaciones. De esta manera se tiene una app padre, con apps hijas. En general seria tener un proyecto con micro aplicaciones.

Y que repercusiones conlleva utilizar webcomponets.
Espero haberme explicado. Muchas gracias.