<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to import the react dependencies in Liferay portlet?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121521599" />
  <subtitle>How to import the react dependencies in Liferay portlet?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121521599</id>
  <updated>2026-05-31T21:35:46Z</updated>
  <dc:date>2026-05-31T21:35:46Z</dc:date>
  <entry>
    <title>How to import the react dependencies in Liferay portlet?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121521598" />
    <author>
      <name>Dipesh Bariya</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121521598</id>
    <updated>2022-09-22T15:33:52Z</updated>
    <published>2022-09-22T12:58:22Z</published>
    <summary type="html">&lt;p&gt;
  &lt;b&gt;Hello, &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;I have
    some issues with the react module in lifeary.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;I have
    created one Liferay react module, and I am trying to add the
    below-highlighted dependencies into the package.json file and the
    same dependencies are added in Liferay's OOTB module document-library-web.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;
    &lt;img alt="" height="540"
      src="https://lh4.googleusercontent.com/9TtDcAmQ7MO6F63SpyHS0GJSPgxXcWHNHzrz4Qbui6OuRtkca9iHHakyCZ5FNlb3kD60CQHNhpTxzZ6sn_2IQLFBFZDkzKIjgLKA39ovsImsJi4XRbUsX24QJRXqHkirJOWz7WnSBOI1FMHph0okX45rko_ccpmq03tQz7YuAVHabsPYow0xBB7RSA" width="530" /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt; &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;But
    when I do blade gw deploy, I am unable to deploy my module.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;Also,
    How does Liferay manage the dependencies? because in Liferay's
    module there is no build.gradle files.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;I am
    following mentioned below Liferay blog.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;Can
    someone help me to solve it?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b id="docs-internal-guid-78207d64-7fff-0905-4c37-41fe979cab3b"&gt;
    &lt;a href="https://help.liferay.com/hc/en-us/articles/360017888032-Using-React-in-Your-Portlets"&gt;https://help.liferay.com/hc/en-us/articles/360017888032-Using-React-in-Your-Portlets&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;</summary>
    <dc:creator>Dipesh Bariya</dc:creator>
    <dc:date>2022-09-22T12:58:22Z</dc:date>
  </entry>
</feed>
