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

learn-legacy-article-disclaimer-text

問題

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

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