laravel-deploy-on-shared-hosting icon indicating copy to clipboard operation
laravel-deploy-on-shared-hosting copied to clipboard

Laravel-vue blank page issue on server

Open wakkarkhan opened this issue 5 years ago • 4 comments

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?

wakkarkhan avatar Jul 01 '20 07:07 wakkarkhan

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.

nelson6e65 avatar Jul 02 '20 16:07 nelson6e65

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 avatar Jul 03 '20 07:07 wakkarkhan

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 ?

wakkarkhan avatar Jul 03 '20 07:07 wakkarkhan

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

nelson6e65 avatar Jul 03 '20 20:07 nelson6e65