Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as developer i wan to have a react example #20

Open
thanghps opened this issue Jan 10, 2022 · 11 comments
Open

as developer i wan to have a react example #20

thanghps opened this issue Jan 10, 2022 · 11 comments

Comments

@thanghps
Copy link

No description provided.

@X-neuron
Copy link
Owner

wait for few days , will update a react + nest.js + postgres + typeorm realworld example~

@thanghps
Copy link
Author

Additional, i am unable to get global state from main fe in the micro app or i don't know the way to get it. Could you please help clarify this.

@X-neuron
Copy link
Owner

qiankunApiDoc this docs will help you ~

@thanghps
Copy link
Author

Dear X-neuron, Could you please update the example?

@X-neuron
Copy link
Owner

Dear X-neuron, Could you please update the example?

Because of the reason of my city COVID-19, I temporarily can not return to the office to export the required project instances. It will take about 2 weeks.. If you are in a hurry, I think this example can help you:awesome-nest-boilerplate

@thanghps
Copy link
Author

Bassicaly, i've a problem when add react js example, that is it is not hot reload when code is changed. when code is changed, whole page is refresh, i expect only the reactjs example is hot reload.

Do you have any suggesstion?

@X-neuron
Copy link
Owner

this tempalte does'nt support hot reload?

you can run : npm run dev
and then change: src/pages/test4/CountBtn.jsx
change the ui as you like and save
you can see ,it does'nt refresh the hole page,just refresh the tab panel..

@X-neuron
Copy link
Owner

Dear X-neuron, Could you please update the example?

https://github.com/X-neuron/x-plat.git
this app base on this tempalete in the real world~
may be useful for you~

@thanghps
Copy link
Author

Could you please explain some questions?
1, what is the different of this repo and antdFront?
2, can you add a reactjs example to x-plat?

@X-neuron
Copy link
Owner

X-neuron commented Feb 11, 2022

Could you please explain some questions? 1, what is the different of this repo and antdFront? 2, can you add a reactjs example to x-plat?

antdfront is a template , x-plat is a react frontend project base on this template without backend~
x-plat contain many pages 、jwt session examples in it that may help you build your own project feed you need~

@thanghps
Copy link
Author

Dear,
I see the error below:
SW registration failed: DOMException: Failed to register a ServiceWorker for scope

Could you help investigate the issue?
Thank you very much.

Repository owner deleted a comment from tarunjainsagar Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@thanghps @X-neuron and others