Skip to content

Example of server-side rendering VueJS in Symfony with php-v8js

Notifications You must be signed in to change notification settings

TheRatG/s4-vue-ssr

Repository files navigation

Symfony 4 Vue SSR

Inspiring by ChrisDBrown/symfony4-vuejs-ssr

There is my version of using symfony plus vue without vue-router, but old and familiar navigation.

Features

Requirements

How to install extension?

Check and change version. In my case autodetect does not work, so I put /opt/libv8-6.6 during pecl installation.

add-apt-repository ppa:~pinepain/libv8
apt-get update -y
apt-get install libv8-6.6-dev -y
pecl install v8js-2.1.0
#/opt/libv8-6.6
echo 'extension=v8js.so' > /etc/php/7.2/mods-available/v8js.ini
phpenmod v8js
service php7.2-fpm restart

Installation

  • clone or download project
  • composer install
  • yarn install
  • npm run dev

About

Example of server-side rendering VueJS in Symfony with php-v8js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published