Skip to main content

Zoovu manifest

zoovu.manifest.js, in the root of your project, tells Experience Designer what your theme is called and how to list it. yarn build reads it, and yarn start reads previewLink from it.

zoovu.manifest.js
export default {
name: 'SolsticeTheme',
type: 'APPLICATION',
icon: '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32">...</svg>',
label: 'Solstice theme',
previewLink: '',
};

Fields​

FieldWhat it does
nameIdentifies the theme and names the zip. The build needs it.
typeLeave it as 'APPLICATION': that is the type of an application theme.
labelThe name Experience Designer lists the theme by. Without it, the build uses the name.
iconThe icon next to the label, as an inline SVG string. Without it, the build uses an empty icon.
previewLinkThe preview link of the advisor that yarn start shows your theme on.

name​

Write the name in PascalCase, such as SolsticeTheme: letters and digits only, starting with a letter. It must be a JavaScript identifier, so yarn build stops on a name with a dash or a space:

Error: Given name "solstice-theme" is not a legal JS identifier. If you need this, you can try "output.extend: true".

Ignore the hint about output.extend and fix the name.

The zip takes its file name from the name, in lowercase with dashes: SolsticeTheme gives solstice-theme.remote-component.v0.0.1.zip.

The link is for development only. yarn build doesn't need it and never puts it in the zip. See Get your preview link.

Where the version lives​

The version is not in the manifest. It is the version field of package.json, and yarn bump-version raises it. See Upload & versioning.

Older projects​

Projects created with @zoovu/create-remote-component 3.x and earlier use other values of type, and a subType. See Manifest types.