legacy-knowledge-base
公開されました Sep. 10, 2025

Bootstrap v.4.3.1を使用するようにカスタムテーマを更新するにはどうすればよいですか?

written-by

Alfonso Crisci

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

問題

  • 開発者は、Liferayカスタムテーマが Bootstrapバージョンv.4.3.1を使用することを望むかもしれません。

環境

  • Liferay DXP 7.1

解像度

  1. DXP 7.1にfixpack dxp-13-7110+がインストールされていることを確認する。
  2. "liferay-frontend-theme-unstyled" を追加した後にカスタムテーマを再構築してください:"^3.0.25" テーマの package.json の devDependencies に追加します
  3. Liferayを停止する
  4. 以下のフォルダの内容を削除する:
    • Liferay/ワーク
    • Liferay/osgi/state
    • アプリサーバーの一時ファイル(例:Tomcatの場合:tomcat/work、/temp)
    • ブラウザのキャッシュ
    • Liferay/osgi/war/{your_theme's_war_file)
  5. サーバーを再起動し、カスタムテーマを再デプロイする

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base