Skip to main content

eWizard.js: component system settings

Configure the content, path, common, plugin, and template settings of your custom component

Written by eWizard Team

You can modify the content, path, common, plugin, and template settings in the .ewizard/settings.json file.

{
"content": {
"type": "component",
"subtype": ""
},
"plugins": {
"eslint": true
}
}

The .ewizard/settings.json file has the following fields:


Field


Description

content.type

The project type

content.subtype

The content subtype

plugins.eslint

Shows if the ESLint plugin is in the project. You can choose to use ESLint when you initialize a component.

View all fields in .ewizard/settings.json

You can check all the fields available in the .ewizard/settings.json in a development build.

To view all fields from the .ewizard/settings.json file, add the console.log method in the App.vue file of your project.

<!-- App.vue --><script>
export default {
mounted() {
console.log(EWIZARDJS.SYSTEM_SETTINGS);
},
};
</script>

You can see the object with all the fields of .ewizard/settings.json in the browser console after running the wiz dev --live command.

Did this answer your question?