laravel 5.3, php artisan make:auth having Uncaught SyntaxError: Invalid or unexpected token

laravel 5.3, php artisan make:auth having Uncaught SyntaxError: Invalid or unexpected token

全新安装laravel 5.3

执行了以下..

注销时无法正常工作并出现控制台错误..

Resource interpreted as Stylesheet but transferred with MIME type application/x-gzip: "http://localhost:8000/css/app.css".

app.js:1 未捕获的语法错误:无效或意外的标记

将此添加到您的 .htaccess 文件:AddType text/css .css - 这将发送正确的 headers 而不是 x-gzip。