faisalfjri / breeze-vue-api

An application / authentication starter kit frontend in Vue.js 3 for Laravel Breeze.
MIT License
69 stars 15 forks source link

Change Welcome.vue so it is more different form Laravels default installation page #4

Closed andersbc closed 1 year ago

andersbc commented 1 year ago

Not really a technical issue, but a suggestion: I spent an hour trying to figure out why my Nginx setup served me the default Laravel welcome backend page, or redirected to it, when hitting my new vue frontend, made with this project. I finally realized that in fact I was getting the frontend. The projects' welcome page looks almost identical to Laravels default installation page. except for dim login links, etc. Consider changing it to make it more obvious that the installation is fine.

faisalfjri commented 1 year ago

@andersbc if you run the command

php artisan breeze:install api

then the welcome page in backend laravel will not appear anymore and will change to laravel:version.

like this { "Laravel": "9.45.0" }

andersbc commented 1 year ago

@faisalfjri I know :-) but I was confused by this projects' welcome page looking almost exactly like Laravels' default welcome page. I thought I was somehow hitting the old laravel backend instead of getting my new vuejs frontend .. so I spent time debugging my Nginx/Docker setup, thinking something was wrong Maybe make it more obvious in the welcome.vue page that this is, in fact, the vuejs frontend. Thank you for your reply :-)