资产无法在sails.js应用程序中加载 [英] Assets not loading in sails.js app
问题描述
我从Arch Linux迁移到Windows 7。
我已经安装了nodejs,npm,sails,grunt。我使用 sails new< name>
创建了一个新的sails项目,并使用 sails lift
开始了它。
我的资产将不会被sails编译或注入。 .tmp / public也不存在。
也许有人可以帮我解决问题吗?
它可能是Grunt默认为False,这意味着咕噜声工作流程不构建您的资产或创建公共Web文件夹。
I moved from Arch Linux to Windows 7.
I've installed nodejs, npm, sails, grunt. I created a new sails project with sails new <name>
and started it with sails lift
.
My assets will be not compiled or injected by sails. .tmp/public does not exist, too.
Maybe someone can help me out?
Check out this issue
https://github.com/balderdashy/sails/issues/3013
Its probably that Grunt is defaulting to False, which means the grunt work flow is not building your assets or creating the public web folder.
这篇关于资产无法在sails.js应用程序中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!