<?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>Multiple portlet in single Vue project</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119055429" />
  <subtitle>Multiple portlet in single Vue project</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119055429</id>
  <updated>2026-04-05T20:45:45Z</updated>
  <dc:date>2026-04-05T20:45:45Z</dc:date>
  <entry>
    <title>RE: Multiple portlet in single Vue project</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119089685" />
    <author>
      <name>Iván Zaera Avellón</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119089685</id>
    <updated>2020-05-04T07:25:48Z</updated>
    <published>2020-05-04T07:25:48Z</published>
    <summary type="html">You can use a provider project for that. Check the example here -&amp;gt; &lt;a href="https://github.com/izaera/liferay-js-toolkit-showcase/tree/react"&gt;https://github.com/izaera/liferay-js-toolkit-showcase/tree/react&lt;/a&gt;&lt;br /&gt;The idea is to put all common code in a provider project which doesn&amp;#39;t implement a portlet, but just carries shared code. Then, that code (modules) is imported configuring the imports section of the .npmbundlerrc files.</summary>
    <dc:creator>Iván Zaera Avellón</dc:creator>
    <dc:date>2020-05-04T07:25:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Multiple portlet in single Vue project</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119087807" />
    <author>
      <name>Hairi Lani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119087807</id>
    <updated>2020-05-04T06:26:18Z</updated>
    <published>2020-05-04T06:26:18Z</published>
    <summary type="html">Thanks Ivan for your reply.Just thinking how Portlet1 can re-used components that inside Portlet2 if both portlets in different project workspace</summary>
    <dc:creator>Hairi Lani</dc:creator>
    <dc:date>2020-05-04T06:26:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Multiple portlet in single Vue project</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119054419" />
    <author>
      <name>Iván Zaera Avellón</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119054419</id>
    <updated>2020-04-28T07:28:16Z</updated>
    <published>2020-04-28T07:28:16Z</published>
    <summary type="html">Hi Hairi:&lt;br /&gt;You can&amp;#39;t. You can only create one JavaScript portlet per package.json. If you need another portlet, just create a new project.</summary>
    <dc:creator>Iván Zaera Avellón</dc:creator>
    <dc:date>2020-04-28T07:28:16Z</dc:date>
  </entry>
  <entry>
    <title>Multiple portlet in single Vue project</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119055428" />
    <author>
      <name>Hairi Lani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119055428</id>
    <updated>2020-04-28T05:23:32Z</updated>
    <published>2020-04-28T05:23:32Z</published>
    <summary type="html">Hello.Any idea how to add new portlet in existing Vue project?&lt;br /&gt;I only see one config to create portlet in project.&lt;br /&gt;How to add another portlet here?&lt;br /&gt;&lt;br /&gt;&amp;#34;portlet&amp;#34;: {    &lt;br /&gt;&amp;#34;com.liferay.portlet.display-category&amp;#34;: &amp;#34;category.sample&amp;#34;,   &lt;br /&gt; &amp;#34;javax.portlet.name&amp;#34;: &amp;#34;vueliferaydemowidget&amp;#34;,   &lt;br /&gt; &amp;#34;javax.portlet.security-role-ref&amp;#34;: &amp;#34;power-user,user&amp;#34;,   &lt;br /&gt; &amp;#34;javax.portlet.resource-bundle&amp;#34;: &amp;#34;content.Language&amp;#34;,    &lt;br /&gt;&amp;#34;com.liferay.portlet.instanceable&amp;#34;: true &lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Hairi Lani</dc:creator>
    <dc:date>2020-04-28T05:23:32Z</dc:date>
  </entry>
</feed>
