Skip to main content
All CollectionseWizard.js frameworkCustom components
eWizard.js: Component template settings
eWizard.js: Component template settings

The settings of the component template

eWizard Team avatar
Written by eWizard Team
Updated over a year ago

The settings.json file in the project root directory stores the component template settings. When you initialize the component scaffolding template, this is the default configuration of the settings.json file:

{
"name": "site-ewizard-settings-json",
"id": "6e1d29bd-f6f8-4fa8-bdee-bb1ef7509f8a",
"localization": {
"current": "eng",
"original": "",
"langs": [
"eng"
]
},
"browserslist": [
"last 2 versions"
],
"uncss": false
}

Field

Description

name

The component template name.

id

The unique ID of the created component.

localization

Information about the current localization and available languages of the component template.

browserslist

Define the supported browsers for demonstrating your component. This configuration is applicable in prefixing the CSS rules and polyfilling JS. The exporting engine applies these settings only when building the component for the target CLM app. For more information, see the Browserslist configuration syntax.

For more information about settings in other template types, see Configuration.

Did this answer your question?