How to display blade.php files using firebase

吃可爱长大的小学妹 提交于 2019-11-30 09:40:26

问题


I am new to firebase. When I am trying to display the hosted blade.php files through firebase that files will be directly get downloaded. But I need to display them as web pages. So how can I achieve this goal?


回答1:


Firebase Hosting is for serving static assets only. It will not interpret your PHP code/Blade template and will instead serve them uninterpreted.

If you want to serve PHP, you will need to find a PHP hosting service.

If you want to use Firebase Hosting, you'll have to serve static HTML, such as for a single-page application.



来源:https://stackoverflow.com/questions/39522840/how-to-display-blade-php-files-using-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!