DEV Community

loading...

Discussion on: Laravue - a beautiful dashboard for Laravel

Collapse
iqbaltld profile image
iqbaltld

This is the first time I am developing a Laravel Vue app. When I use 'php artisan serve', everything works fine. But when I load it with 'localhost/myProject/public', assets are not loaded. My images are in 'img' directory inside public folder. I was using blade templating to manage this issue when I use Laravel alone. But now I can't use blade since it is a Vue component. How can I run the project without 'php artisan serve'? My Ultimate aim is to deploy the project in godaddy shared server. Please help me.

Collapse
tuandm profile image
Tuan Duong Author • Edited

Hi @iqbaltld

Thanks for reaching this project. If you don't want to use php artisan serve, you should create vhost file (depends on which web server you are using) and point to /your/project/public folder, then you open browser to access to http://your_vhost_name. With the current release, Laravue doesn't support to be run as subfolder.

If you have any question, please let me know. I also suggest you open issue on github.com/tuandm/laravue/issues so that everyone can get noticed about your trouble.

Collapse
tuandm profile image
Tuan Duong Author

Hi @iqbaltld ,

Laravue now supports running in subfolder, please check the document here: doc.laravue.dev/guide/#change-the-...