Foros de discusión

How to add Css,Js files on Liferay osgi module

thumbnail
Kiran Yalavali, modificado hace 6 años.

How to add Css,Js files on Liferay osgi module

Regular Member Mensajes: 175 Fecha de incorporación: 15/10/14 Mensajes recientes
Hi All,

I'm migrating from liferay 6.2 to Liferay DXP osgi module but how to add CSS,JS,Jar files on osgi module I had add these css, js files of osgi module it's not replicate but throwing errors so how to add css and js files .

Please help me.

Kiran.
thumbnail
Joye Luo, modificado hace 6 años.

RE: How to add Css,Js files on Liferay osgi module

Regular Member Mensajes: 144 Fecha de incorporación: 3/05/16 Mensajes recientes
Hey Kiran,

You can look blade samples to see how it works for js and css.
https://github.com/gamerson/liferay-blade-samples/tree/master/liferay-workspace/apps
thumbnail
ANKIT SRIVASTAVA, modificado hace 6 años.

RE: How to add Css,Js files on Liferay osgi module (Respuesta)

Junior Member Mensajes: 76 Fecha de incorporación: 2/02/11 Mensajes recientes
Try using resource folder and -includeresource in bnd file for jar files.

Thanks,
Ankit