scaffold-fragment - Create and deploy Liferay page fragments
Generates Liferay page fragment source files, optional configuration, and deploys them through a site initializer or standalone collection.
Tags
Updated: 2026-11-10Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create fragment source files
- Add editable HTML regions
- Define fragment configuration fields
- Scope fragment CSS styles
- Add fragment JavaScript behavior
- Deploy fragments to Liferay
- Verify fragment availability
Inputs
- Fragment requirements
- Fragment type
- Site initializer tree
- Fragment collection
- Target Liferay site
- Running Liferay portal
Outputs
- fragment.json file
- index.html file
- index.css file
- index.js file
- configuration.json file
- Deployed fragment collection
- Content Page editor availability
Requirements
- Liferay portal
- Site initialization support
- Deployment permissions
- Blade CLI for standalone collections
