jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

Instruction for micro frontend #19307

Closed paris0120 closed 2 years ago

paris0120 commented 2 years ago
Overview of the feature request

Can you provide some information on how to use the new micro frontend function, such as how to disable/enable in the jdl studio, which framework is used etc. Thank you.

Motivation for or Use Case
Related issues or PR
mraible commented 2 years ago

You can see an example in https://github.com/jhipster/jdl-samples/blob/main/reactive-mf.jdl.

paris0120 commented 2 years ago

You can see an example in https://github.com/jhipster/jdl-samples/blob/main/reactive-mf.jdl.

Thank you so much. I'm also wondering if there is a way to keep my current version of jhipster and install the new one and I can decide which version to use when generate the code. I would like to continue my development with the current version but mitigate to the new versions when possible.

mraible commented 2 years ago

I would suggest creating a branch and trying the npx jhipster upgrade command on it. Or you can manually upgrade too.

https://www.jhipster.tech/upgrading-an-application/

paris0120 commented 2 years ago

I would suggest creating a branch and trying the npx jhipster upgrade command on it. Or you can manually upgrade too.

https://www.jhipster.tech/upgrading-an-application/

Thank you so much.

mshima commented 2 years ago

Instructions available at https://github.com/jhipster/generator-jhipster/issues/17031.

bluegaspode commented 2 years ago

I also tried to follow/try out microfrontend generation and want to support @paris0120 request.

I'm working with JHipster monolithic applications for quite some time, but just with the documentation available in #17031 I've not been able to create a microfrontend application.

reactive-mj.jdl was a great hint, as it indirectly documents the necessary changes to the jdl files. Unfortunately it doesn't load yet in JDL studio.

mshima commented 2 years ago

Updated https://github.com/jhipster/generator-jhipster/issues/17031 description.