如何在Liferay中使用引导程序? [英] How to use bootstrap in Liferay?

查看:130
本文介绍了如何在Liferay中使用引导程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在JSP的Liferay Portlet中使用Bootstrap.我知道liferay也使用bootstrap.那么,如何导入引导程序而在Portlet中没有任何冲突呢?

I'm trying to use Bootstrap in my JSP's for my Liferay portlet. I'm aware that liferay also uses bootstrap. So how can I import bootstrap without any conflicts in my portlet?

预先感谢

推荐答案

如果您使用的是LR 6.2,则引导程序将出现在每个页面的门户中.您只需要调用引导程序的相应模块即可.其余的js和css文件将由主题提供.

If you are using LR 6.2, then bootstrap will be their in your portal on every page. You just need to invoke the appropriate module of the bootstrap. Rest the js and css files required will be provided by the theme.

这篇关于如何在Liferay中使用引导程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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