Fórum

How to add Css,Js files on Liferay osgi module

thumbnail
Kiran Yalavali, modificado 6 Anos atrás.

How to add Css,Js files on Liferay osgi module

Regular Member Postagens: 175 Data de Entrada: 15/10/14 Postagens Recentes
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 6 Anos atrás.

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

Regular Member Postagens: 144 Data de Entrada: 03/05/16 Postagens Recentes
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 6 Anos atrás.

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

Junior Member Postagens: 76 Data de Entrada: 02/02/11 Postagens Recentes
Try using resource folder and -includeresource in bnd file for jar files.

Thanks,
Ankit