This repo has been fullfil it's task. The issue has been solved: https://github.com/inertiajs/inertia/issues/2083.
Git clone
Copy environment
cp .env.example .env
composer install
php artisan key:generate
php artisan migrate
php artisan db:seed
npm install
npm run build
php artisan serve
and php artisan inertia:start-ssr
in separate tab terminal.