Closed Noro07 closed 10 months ago
@Noro07 perhaps I am misunderstanding you, but I think what you are looking at is in fact the vue portlet.
We have markup like:
<div>
<span class="tag">${Liferay.Language.get('portlet-namespace')}:</span>
<span class="value">{{portletNamespace}}</span>
</div>
And then we initialize the Vue app with new Vue
and pass in a data object that contains portletNamespace
.
Am I missing something from your comment?
Note that the cli tool generates a portlet with vue 2
@bryceosterhaus Thanks for your help!
Issue type (mark with
x
)Version (mark with
x
)Description
I followed this tutorial to create a project. when I load this widget and load it in the layout, it cannot load the project and display the following config. Did I miss something for displaying this portlet? Thanks in advance
tutorial link https://learn.liferay.com/w/dxp/building-applications/tooling/other-tools/liferay-cli-tool#:~:text=You%20can%20also%20select%20%E2%80%9CLiferay,are%20build%20and%20bundle%20tools.
command
Desired behavior: load the vue porlet
Current behavior: display the config
Repro instructions (if applicable):
Other information (environment, versions etc):