Legacy Knowledge Base
公開されました Jun. 30, 2025

クラシックテーマのカスタマイズ/拡張

Written By

Balázs Létai

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 私は、箱から出したクラシック・テーマをベースにカスタム・テーマを作りたいと思っています。

Environment

  • Liferay DXP 7.1+

解決策

  • テーマの作成をお読みください。
  • フォルダを作成し、ターミナルを開く
  • yo liferay-theme の代わりに、
    yo liferay-theme:classic --themeVersion=5.0.71
    というコマンドを使って、箱から出してすぐのクラシックテーマに基づいたテーマを生成してください。
  • -themeVersion=5.0.71を追加 すると、 設定されたバージョンのclassicテーマがダウンロードされます。
    あなたのLiferayに必要なバージョンを確認するには、以下のリンクからgithubをチェックしてください。 Liferay のバージョンを選択していることを確認してください:
    https://github.com/liferay/liferay-portal/blob/master/modules/apps/frontend-theme/frontend-theme-classic/package.json
    Screenshot_2023-05-19_at_9.55.58.png
  • ソースに変更を加える
  • gulp buildでテーマをビルドする
  • Liferayにデプロイする

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base