本文介绍了Userfrosting安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照步骤完成了Userfrosting的安装-没有错误,一切顺利(使用ubuntu 16命令行).

I did installation of Userfrosting as per the steps - no errors and all went well (using ubuntu 16 command line).

当我在浏览器中加载网站时,页面确实出现了,但是没有应用CSS.浏览器控制台说-无法加载资源.我检查后发现userfrosting/public(这是我的webroot)下没有"asset-raw"文件夹.

When i loaded the site in browser, page did came but no CSS applied. Browser console said - failed to load resource. I checked and found that "asset-raw" folder is not there under userfrosting/public (this is my webroot).

此外,当单击登录时,它不起作用.让我知道我是否错过了任何事情.

Also when clicked on sign-in, it does not work. DO let me know if i missed anything.

谢谢拉胡尔

推荐答案

如果使用的是Apache,则需要确保已启用Mod_Rewrite. asset-raw不是真实目录,它是由应用程序管理的别名.

If you're using Apache, you need to make sure Mod_Rewrite is enabled. asset-raw is not a real directory, it's an alias managed by the app.

请参阅: https://learn.userfrosting.com/troubleshooting/common-problems#installation-went-fine-except-i-don-t-在我的首页上看到任何样式的我都在使用Apache

这篇关于Userfrosting安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 13:34