<?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>Remote app with vue issue</title>
  <link rel="self" href="https://liferay.dev/fr/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121284517" />
  <subtitle>Remote app with vue issue</subtitle>
  <id>https://liferay.dev/fr/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121284517</id>
  <updated>2026-05-14T04:25:52Z</updated>
  <dc:date>2026-05-14T04:25:52Z</dc:date>
  <entry>
    <title>RE: RE: Remote app with vue issue</title>
    <link rel="alternate" href="https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121507227" />
    <author>
      <name>Go ID</name>
    </author>
    <id>https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121507227</id>
    <updated>2022-09-01T18:27:33Z</updated>
    <published>2022-09-01T18:12:10Z</published>
    <summary type="html">&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The same issue &amp;amp; I've spent an entire day to find a solution. So,
  the main key in my case was that &amp;quot;HTML Element-Name&amp;quot; in a
  Remote app must be the same as you gave your app in the code.&lt;/p&gt;
&lt;p&gt; Vue example (see: el: &amp;quot;company-remote-app&amp;quot;,)&lt;/p&gt;
&lt;p&gt;import Vue from 'vue'&lt;/p&gt;
&lt;p&gt;import App from './App.vue'&lt;/p&gt;
&lt;p&gt;import vuetify from './plugins/vuetify'&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Vue.config.productionTip = false&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;new Vue({&lt;/p&gt;
&lt;p&gt;el: &amp;quot;company-remote-app&amp;quot;,&lt;/p&gt;
&lt;p&gt;vuetify,&lt;/p&gt;
&lt;p&gt;render: (h) =&amp;gt; h(App),&lt;/p&gt;
&lt;p&gt;}).$mount(&amp;quot;departments-remote-app&amp;quot;);&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;React example (see: const ELEMENT_ID = 'company-remote-app';) &lt;/p&gt;
&lt;p&gt;import React from 'react';&lt;/p&gt;
&lt;p&gt;import ReactDOM from 'react-dom';&lt;/p&gt;
&lt;p&gt;import './index.css';&lt;/p&gt;
&lt;p&gt;import App from './App';&lt;/p&gt;
&lt;p&gt;class WebComponent extends HTMLElement {&lt;/p&gt;
&lt;p&gt;connectedCallback() {&lt;/p&gt;
&lt;p&gt;ReactDOM.render(&amp;lt;App /&amp;gt;, this);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;const ELEMENT_ID = 'company-remote-app';&lt;/p&gt;
&lt;p&gt;if (!customElements.get(ELEMENT_ID)) {&lt;/p&gt;
&lt;p&gt;customElements.define(ELEMENT_ID, WebComponent);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;also see: &lt;a href="https://liferay.dev/blogs/-/blogs/liferay-objects-and-remote-apps-how-can-we-connect-them-"&gt;https://liferay.dev/blogs/-/blogs/liferay-objects-and-remote-apps-how-can-we-connect-them-&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>Go ID</dc:creator>
    <dc:date>2022-09-01T18:12:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Remote app with vue issue</title>
    <link rel="alternate" href="https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121502364" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121502364</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2022-08-25T06:51:11Z</published>
    <summary type="html">&lt;p&gt;I have the same problem with my angular remote app.&lt;/p&gt;
&lt;p&gt;If I go to the page with the menu link it is OK. But if I go directly
  with my browser or I do a refresh or I change the language, my remote
  app portlet is empty like you !&lt;/p&gt;
&lt;p&gt;Do you solve your problem ?&lt;/p&gt;
&lt;p&gt;I am in Liferay 7.4 GA38.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2022-08-25T06:51:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Remote app with vue issue</title>
    <link rel="alternate" href="https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121296745" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121296745</id>
    <updated>2021-12-14T07:51:46Z</updated>
    <published>2021-12-14T07:51:46Z</published>
    <summary type="html">&lt;p&gt;Some more steps to reproduce (e.g. how do you end up at this result)
  would be beneficial for answering.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-12-14T07:51:46Z</dc:date>
  </entry>
  <entry>
    <title>Remote app with vue issue</title>
    <link rel="alternate" href="https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121284516" />
    <author>
      <name>gavin lau</name>
    </author>
    <id>https://liferay.dev/fr/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121284516</id>
    <updated>2021-12-08T16:41:17Z</updated>
    <published>2021-12-07T15:42:10Z</published>
    <summary type="html">&lt;p&gt;
  &lt;span id="cke_bm_1534S" style="display: none;"&gt; &lt;/span&gt;I used the
  liferay7.4 GA4 CE version&lt;/p&gt;
&lt;p&gt;I added a remote app with vue in a page . Sometimes it was ok.
  Sometimes it got the blank,then I inspected the element,I got this bellow:&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/1638891220600.jpg/c5d21a0d-cba1-59b2-1919-14e8f5a75a5b?t=1638891389127&amp;amp;imagePreview=1" /&gt;&lt;/p&gt;</summary>
    <dc:creator>gavin lau</dc:creator>
    <dc:date>2021-12-07T15:42:10Z</dc:date>
  </entry>
</feed>
