petehouston / laravel-deploy-on-shared-hosting

The simple guide to deploy Laravel application to shared hosting services.
305 stars 78 forks source link

Laravel-vue blank page issue on server #36

Open wakkarkhan opened 4 years ago

wakkarkhan commented 4 years ago

Hi , Actually i am stuck from last 1week . I have deployed my laravel-vue application on subdomain and it gives me blank page with no errors. Can you please help me what is wrong with it?

nelson6e65 commented 4 years ago

Is blank, no HTML/CSS/JS loading? Check the Laravel routing to that subdomain. Also, you can provide a default page to test. You can also include Laravel Debug Bar and enable it in production in order to debug this errors.

O just no page, but loading js files? In addition, you can include a default Vue route to * (any) and display a custom 404 page in your SPA to check if it's a router issue.

wakkarkhan commented 4 years ago

I did'nt understand what is the real problem . Can you please tell me , how to include Laravel Debug bar and enable it in production?

wakkarkhan commented 4 years ago

Actually i have checked, its a Vue router issue . it cannot load components in it. Please suggest me what should i do to make it work ?

nelson6e65 commented 4 years ago

Check your subdomain routing for your Vue SPA is configured correctly.