Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-8516

Extending a theme installed in the local registry can make the project not portable to other marches

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 7.2.x
    • Component/s: Themes
    • Labels:
      None
    • Type of Documentation:
      Developer

      Description

      Flagged by Jose Jimenez:

      Article Link: https://help.liferay.com/hc/en-us/articles/360028726552

      Comment: "We need to notify that the option of extending a theme installed in the local registry (globally installed theme) can make the project not be portable to other machines, for example if you have a Continuous Integration tool you should extend themes from a URL or published in the npm registry. Anyway, if you are extending a custom theme in the same project, you could use the 3) option, and modify the paths to the module in the package.json and package-lock.json, and set relative paths to the location where you have your other base custom theme. Usually it will be similar to "../my-base-custom-theme" because in a Liferay Workspace all the themes are in the same "themes" folder. This is a workaround portable to other machines, in a future we will try to improve the way we do this task. (https://github.com/liferay/liferay-js-themes-toolkit/issues/522)

      NOTE FOR THE REVIEWER: this could be part of a Fast Track but I think is better to put the workaround in place with this documentation in order to avoid that people following this documentation gets the error "

      Thanks

        Attachments

          Activity

            People

            Assignee:
            alec.shay Alec Shay
            Reporter:
            jay.lee Jay Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support

                  Packages

                  Version Package
                  7.2.x