Liferay DXP upgrading classic theme to Client extension
Migrating legacy Liferay WAR-based themes to modern Theme CSS Client Extensions decouples your styling from the core runtime, eliminating OSGi dependency issues and enabling zero-downtime deployments. This guide covers how to set up your configuration and restructure your project files for the upgrade. Breakdown the Traditional Theme Components Before writing code, analyze your legacy theme assets and map them to Liferay 7.4 equivalents: portal_normal.ftl (Structure): Migrates to Liferay Master Pages or Page Templates using the UI editor. custom.css / SCSS (Styles): Migrates to a Theme CSS Client Extension . favicon.ico: Migrates to a Theme Favicon Client Extension . Theme SVG Spritemaps: Migrates to a Theme Sprite Map Client Extension . Migrating to a Theme CSS Client Extension: The theme CSS client extension is available in Sample client extension for your reference. 1. Understanding client-extension.yaml The client-extension.yaml file co...