Home > Article > Backend Development > react.js - What is a good development process for antdesign with PHP?
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! It would be bad to do cross-domain! I know there is a method that can automatically build to any directory, but it still feels a bit confusing. If you have any good development process, please share it and give me some advice. The boss of the company designated antdesign, which made me dizzy.
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! It would be bad to do cross-domain! I know there is a method that can automatically build to any directory, but it still feels a bit confusing. If you have any good development process, please share it and give me some advice. The boss of the company designated antdesign, which made me dizzy.
antd is for react language
Ant design is also used in a recent project, mainly for front-end and back-end classification.
When deploying, we directly put the build product under one domain name, and PHP (Laravel project) is deployed independently under another domain name. Cross-domain is not a problem for us, it can be easily solved using cors.