How get configuration params in adapted vue-cli projectHow get configuration params in adapted vue-cli projecthttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1195661312024-03-28T22:05:30Z2024-03-28T22:05:30ZRE: How get configuration params in adapted vue-cli projectchenhao wuhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1195665032020-07-09T08:51:41Z2020-07-09T08:51:41ZI use a <em>replace-regexp loader</em> to inject the _LIFERAY_PARAMS_ through a <strong>placeholder </strong>. That do the trick and meet my requirements temporarily. And many thanks notifying<strong></strong> me that important information about adaptation.<strong></strong>chenhao wu2020-07-09T08:51:41ZRE: How get configuration params in adapted vue-cli projectIván Zaera Avellónhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1195678202020-07-09T07:42:34Z2020-07-09T07:42:34ZSadly there's no way to obtain configuration params in adaptations, you need to use a real Liferay JS portlet (<a href="https://github.com/liferay/liferay-js-toolkit/wiki/How-to-use-generator-liferay-js">https://github.com/liferay/liferay-js-toolkit/wiki/How-to-use-generator-liferay-js</a>) to do that.<br />This is because we don't have control over the bootstrapping of the adapted portlets so we cannot guarantee that we will be able to support that feature in the future: we are at the mercy of the adapted frameworks.<br />Also, adaptation is provided as a way to migrate already existing code and/or make use of platform agnostic code. Following that reasoning, if you are going to couple your portlet with Liferay, it is better to use a real Liferay JS portlet build. Not that you cannot develop using adapted portlets, but the other option is likely to give less trouble...Iván Zaera Avellón2020-07-09T07:42:34ZHow get configuration params in adapted vue-cli projectchenhao wuhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1195661302020-07-09T02:34:08Z2020-07-09T02:34:08ZWe all know the main entry point is in the index.js, which calls the original vue packaged entry method in the js/app.js. But how can I get the portlet configuration params in my own c