@emilushi but why are you mixing in this the server side with client side. NodeJS is executed on server side and an excellent approach would be to offer its resources through a rest api, meaning that any client in the front-end can run anything it likes (PHP, VueJS, React, jQuery etc.) and simply read the receive the jsons. So in this case of JS vs PHP on the server side there is no comparison at all. On the client side then, you still must pay some tribute into VueJS but again you can judge case by case depending on many factors.
more than 90% of websites use PHP (WordPress, Laravel, Joomla, Drupal, Magento etc).
I understand that and I accept that. But, considering that 90% of the website include partially junk content, maybe irrelevant content and in many cases abandoned content forgotten that it exists I would say that it highly depends from your point of view. WordPress revolutionized the web development/delivery and was automated by major hosting panels offering default integration. Written in PHP of course course raises that statistic. But, I’d prefer to consider how major players or websites/webapps that have extensive usage and are visited or worked on the edge of performance, deal with their “server side”. You can have a million personal blogs/websites running in PHP visited by hundreds of people daily, and on the other side you can have a hundreds of websites running on other stuff visited by millions daily.
Also, I believe you’d agree with me saying that 99.xx is just dead simple HTML or services and networks with no front-end at all, including non-indexable deep web etc.
At the end is just e preference. If you like there is nothing better than it in the world! As long is you like it and it can do the job there is nothing in the world judging you “why?”.