Home > Backend Development > PHP Tutorial > 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
Release: 2023-03-01 16:38:01
Original
2105 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template