Inertia/vue3
Here is the repo: https://github.com/Rubrasum/ssr-demo
I ran these commands and attempted to go to localhost, but did not see the page source I would expect for SSR. It looked like CSR (where app div looked like this <div id="app" data-page="{"component":"Welcome",&q......
I looked at docs for jetstream and inertia/ssr, but most sections seem to suggest it should work out of the box. I'm having a hard time finding any issues in github for something this broad "On fresh install with sail, I can't access ssr". Not sure how to phrase that best.
Its similar to this but I see no errors. All I see is that it appears to be CSR. https://github.com/laravel/jetstream/issues/1320
Commands to install
2161 composer create-project laravel/laravel ssr-demo
2162 cd ssr-demo/
2163 composer require laravel/jetstream
2164 php artisan jetstream:install inertia --ssr
2165 php artisan sail:install
2166 sail up -d
2167 sail npm install
2168 sail npm run build
2169 sail artisan migrate
2170 sail artisan inertia:start-ssr
2171 git init
2172 git add .
2173 git commit -m "Initial commit"
2174 gh repo create ssr-demo --public --source=. --remote=origin --push
2175 sail artisan vendor:publish --provider="Inertia\ServiceProvider
2176 sail artisan vendor:publish --provider="Inertia\ServiceProvider"
2177 sail artisan inertia:start-ssr
2178 sail npm run build
2179 sail artisan inertia:start-ssr
2180 sail artisan optimize
2181 sail npm run build
2182 sail artisan inertia:start-ssr