Answer the question
In order to leave comments, you need to log in
Why is ReactJS not working?
I would like to apologize for a possibly stupid question. I ask you not to beat for the incorrect use of terms and if additional information is required, then I will be happy to provide it.
There is such a situation, the spring boot project to which I would like to connect react js so that you can build beautiful interfaces.
There are two files, one is index.js
The second file, main.html
I wanted the phrase "Hello World" to be inserted into the main.html file using id kek.
After accessing the main.html page from the server, I get this response:
Answer the question
In order to leave comments, you need to log in
Have you completed your project?
npm run build
This will build the project into a *.js file, which you must include manually in your main.html
If I understand the batch correctly, of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question