Feature API - Migration to outputTypeName file format #65
Replies: 1 comment 2 replies
-
|
Hey @matthewroach! You can handle this by adding an Keep your file structure for now as: Inside This approach requires minimal changes. For a cleaner long-term setup, you could create the new components for each Then import them into During the transition, you’ll briefly have duplicate entries in blocks selection, but that’s temporary and avoids downtime or broken layouts. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Documented on the Feature API page - https://dev.arcxp.com/pagebuilder-engine/developer-docs/feature-api/
There are two ways to have features set up;
The primary differences between them is the ability to have a file per output type when you add an additional directory.
If a feature pack has followed the first set up e.g.
/components/features/header/default.jsxif we wanted to move to be able to support output type files what would be the best approach to support existing pages and templates?If we move the 2. set up we are required to move files and PageBuilder isn't able to maintain the reference of the existing component, and we need to go edit every page and template.
Beta Was this translation helpful? Give feedback.
All reactions