帆不生成链接器 [英] Sails not generating linker
本文介绍了帆不生成链接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用与 Sails.js 0.10 的关联,我生成了我的应用程序:
I am trying to use associations with Sails.js 0.10, I generated my app with:
sails new name --template jade --linker
应用程序运行良好,但我没有看到任何 assets/linker
文件夹,就像我在 0.9 版中所做的那样.0.10 中的所有文件都默认缩小了吗?
Application is running fine, but I don't see any assets/linker
folder as I did in version 0.9., are all files minified by default in 0.10?
推荐答案
在 0.10 中,您不需要链接器"文件夹,它只会编译和链接 assets/js、assets/styles 和 assets/templates 中的所有内容.
In 0.10 you don't need the "linker" folder, it will just compile and link everything in assets/js, assets/styles and assets/templates.
您可以检查 grunt 文件(在tasks"根文件夹中)以了解那里实际做了什么:).
You can check the grunt files (in "tasks" root folder) to figure what's actually done there :).
这篇关于帆不生成链接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文