问题
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