C
C
Chingiz Mammadov2019-01-12 11:42:45
PHP
Chingiz Mammadov, 2019-01-12 11:42:45

How to make php work with webpack dev server?

Hello. I describe the essence of the issue. I did a front-end for a small project (it's a test, purely for study). The tools used are "webpack, webpack-dev-server, ospanel ". I start webpack-dev-server, ospanel. In JavaScript, I make ajax requests to the php file. He reads it and returns me the answer, but as text and in it all php as plain text. Those. it turns out ospanel does not work. Explain, please, why so?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question