Best  Best
Best Best

Reputation: 535

How to install php-v8js on window

Now, i using vuejs and laravel. when i see view page source (Ctrl+U) but have not html code.I went to find in google.And found need to use Server side rendering (I learned form https://medium.com/js-dojo/server-side-rendering-with-laravel-vue-js-2-5-6afedd64aa90) But problem is "Class 'V8Js' not found"

Someone can help ?

sorry I don't speak English that well

Upvotes: 1

Views: 3252

Answers (1)

J. Arbet
J. Arbet

Reputation: 513

The problem is, that V8JS is a PHP library, that is not shipped by default and you have to compile it by yourself. You can learn more about it and how to install it on it's GitHub page. Follow the installation instructions for your local machine operating system and you should be good to go. If you would like to deploy your app to your hosting provider, first you have to make sure that your host has this PHP extension compiled and enabled. Hopefully this helps you :)

Upvotes: 1

Related Questions