Answer the question
In order to leave comments, you need to log in
How to put babel on shared hosting?
Hello!
I finished studying ReactJS and ran into the following problem: its code, and specifically the JSX format, is not readable by browsers without prior compilation. Babel is generally recommended as such a compiler.
Hence the questions:
1. Is it possible to install Babel on PHP virtual hosting (without terminal access)?
2. Is there an alternative that allows you to use ReactJS (other than using the browser version of Babel)?
Any ideas on this issue are welcome, except for a holivar on the topic: "Buy VDS and don't suffer."
UPD:
I'll try to clarify the question even more : I'm
interested in the scheme:
1. PHP is being processed
2. The result is buffered
3. The contents of the buffer must be run through the Bbel preprocessor
4. The result is given to the client
That is, you need a version of Babel in PHP, I'll do the rest myself.
Answer the question
In order to leave comments, you need to log in
No it's over
Use either vds or compile on your side and then run the deploy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question