Monday, May 22, 2017

How to add ui-bootstrap in AngularJS Portlet

Liferay 6.x, 7.x
AngularJS 1.6.x

To addui-boostrap into AngularJS, we will reuse the AngularJS portlet created earlier with ui-router.

Steps to add ui-bootrap are pretty simple, we just need to import ui-bootstrap-tpls-2.5.0.min.js in view.jsp

<script src="" />

and also bootstrap.min.css

<link href="//" rel="stylesheet"/>

Lastly, we can start using bootstrap components by referring the bootstrap demo page.


No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...