@zoovu/create-remote-component
This page describes @zoovu/create-remote-component 3.x and earlier, legacy versions of the tool. To create a new project with 4.x, follow Build an application theme.
@zoovu/create-remote-component 3.x and earlier generated extension projects for Experience Designer from templates. Each project has a standard file structure with example code, configuration files and metadata.
Extensions are referred to as (remote) components in the code.
Templates
Existing extension projects start from one of these templates:
- button - A customizable navigation button (next, back, restart).
- flow-step - A page for questions or input from the user.
- recommendations - A layout for showing product recommendations.
- tutorial - A simple starter for learning how extensions work.
Folder structure
A project generated from one of these templates looks like this:
my-component/
├── package.json
├── zoovu.manifest.js
└── src/
├── index.ts
├── my-component.component.vue
├── my-component.configuration.ts
├── my-component.style.ts
└── my-component.preset.ts
.component.vue– main logic and UI of your extension.configuration.ts– defines the config values passed into your component.preset.ts– defines which properties appear in the Experience Designer right panelzoovu.manifest.js– metadata for Experience Designer (name, icon, location)
Build for upload
When you’re ready to test or deploy, run:
yarn build
The build will appear in the build folder as a .zip archive. Upload it in Experience Designer under Config → Advanced options → Upload component. Learn more.