Home  >  Article  >  Backend Development  >  react.js - What is a good development process for antdesign with PHP?

react.js - What is a good development process for antdesign with PHP?

WBOY
WBOYOriginal
2016-12-01 00:25:322085browse

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.

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! 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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn