简体   繁体   English

将 laravel 上传到共享主机时,css 不起作用

[英]css not working when uploading laravel to shared hosting

CSS not working when uploading laravel to shared hosting, I've set all the files correctly the server.php and so on, also I did PHP artisan generate, and it's not working too, I have pure HTML only without CSS, maybe I did not change important file settings, or might be a way to run laravel without PHP artisan serv. CSS not working when uploading laravel to shared hosting, I've set all the files correctly the server.php and so on, also I did PHP artisan generate, and it's not working too, I have pure HTML only without CSS, maybe I did不更改重要文件设置,或者可能是在没有 PHP 工匠服务的情况下运行 laravel 的一种方式。

Notice ( im not using php artisan on server that wont work im asking if the way im doing it is right)注意(我没有在服务器上使用 php artisan 不会工作我问我这样做的方式是否正确)

Thanks To all of you who tried to help, To all who have this issue, you have to edit config/app.php and put ur website urls there and the asset will be the public folder.感谢所有尝试提供帮助的人,对于所有遇到此问题的人,您必须编辑config/app.php并将您的网站网址放在那里,资产将成为公共文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM