faq-template.tsx
in templates
folder.
Step 2 - Add the following code in this newly created file.
pageData
and components
. If the FAQ template allow to drag-n-drop the component, we need to add the <DraggableArea />
component from experro-storefront
package.
<DraggableArea />
component must have the unique id
value in the template page.
The usage of theStep 3 - Import the createdDraggableArea
component intemplate
is optional and determined by the theme developers based on whether they want to providedrag-and-drop
functionality for that specific template or not.
FAQTemplate
component in templates.ts
file.
template-list.ts
file. In this file, you can define the template with custom name that you want to display in the Admin Panel.