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