jeudi 28 novembre 2019

How to deploy laravel vue site to shared hosting

Deploy laravel vue app in shared hosting

I coppied index.js from public folder to root and changed autoload and bootstrap path.

public folder contains-

dist/css/app.css
dist/js/app.js
mix-manifest.json

mix-manifest.json

{
    "/dist/js/app.js": "/dist/js/app.js",
    "/dist/css/app.css": "/dist/css/app.css"
}

when i browse, http://domain_name/dist/css/app.css not found error

I deleted public folder and coppied everything to root. But i m getting The Mix manifest does not exist error

Is there a way to overcome this.?

Deploying laravel vue app is a headache? Can i use RewriteBase in htaccess to resolve issue



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire