Created
November 6, 2022 09:41
-
-
Save Maxim-Kolmogorov/503ccd857b3f22e5ae134b8bbb43da9d to your computer and use it in GitHub Desktop.
Laravel 9 + Vite + Vue.js + SSR = example, part 10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Вместо div app в welcome.blade.php | |
$output = shell_exec('/Users/maximkolmogorov/.nvm/versions/node/v16.15.0/bin/node ../bootstrap/ssr/server-app.mjs ' . $url); | |
echo $output; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment