Assets not loading in sails.js app

不打扰是莪最后的温柔 提交于 2020-01-06 14:48:32

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/30825711/assets-not-loading-in-sails-js-app

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