Use antdesign to run on nodejs. after npmstart, there is an address, for example, localhost: 8989. Using php, such as port 80, is difficult to develop! Cross-origin is not good! I know there is a way to automatically build to any directory, but it still feels a bit awkward, big... use antdesign to run on nodejs. after npm start, there is an address, for example, localhost: 8989. Using php, such as port 80, is difficult to develop! Cross-origin is not good! I know that there is a way to automatically build to any directory, but it still feels a bit awkward. do you have any good development procedures? please share them and ask for advice. The boss of the company specified antdesign to make me dizzy.
Reply content:
Use antdesign to run on nodejs. after npm start, there is an address, for example, localhost: 8989. Using php, such as port 80, is difficult to develop! Cross-origin is not good! I know that there is a way to automatically build to any directory, but it still feels a bit awkward. do you have any good development procedures? please share them and ask for advice. The boss of the company specified antdesign to make me dizzy.
Antd is for react language
Ant design is also used in a recent project, mainly for frontend and backend classification.
During deployment, we directly put the build product under a domain name, while php (laravel project) is deployed independently under another domain name. Cross-origin is not a problem for us. cors can be used to solve it easily.