在mvc剃刀中捆绑和缩小 [英] Bundling and minification in mvc razor

查看:93
本文介绍了在mvc剃刀中捆绑和缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



如何在mvc razor中实现捆绑和缩小。

我搜索了很多网站,但它没有成功对我来说。

按步骤顺序提供帮助。



提前致谢

Karthik.J

Hi friends,

How to implement Bundling and minification in mvc razor.
I searched lot of sites but it doesnt worked out for me.
Help needed as step by step procedures.

Thanks in advance
Karthik.J

推荐答案

你的问题不明确。但假设您正在讨论在构建期间缩小javascript文件,请参阅此链接:



http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/ [ ^ ]



如果这不是你想要的,请更新你的问题。



希望这会有所帮助!
Your question is not clear. But assuming you are talking about minifying javascript files during a build, refer to this link:

http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/[^]

If this is not what you are looking for, update your question.

Hope this helps!


我用这个来解决它,



http://joeyiodice.com/using-mvc4-minification-and-bundling-in-mvc3 [ ^ ]
I solved it using this,

http://joeyiodice.com/using-mvc4-minification-and-bundling-in-mvc3[^]


这篇关于在mvc剃刀中捆绑和缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆