You can modify the content, path, common, plugin, and template settings in the .ewizard/settings.json
file.
{ "content": { "type": "block", "subtype": "" }, "plugins": { "eslint": true }, "template": { "url": "https://git.qapint.com/ewizardjs/templates/block", "version": "c109c98ff5c26ffb11f7c90cbed1e03465f8b333" } }
The .ewizard/settings.json
file has the following fields:
|
|
| The project type. |
| The content subtype. |
| Shows if the ESLint plugin is in the project. You can choose to use ESLint when you initialize a block. |
| The link to the repository with the block. |
| The version of the block template generated after you initialize a block. |
View all fields in .ewizard/settings.json
You can check all the fields available in the .ewizard/settings.json
with a development build.
To view all fields from the .ewizard/settings.json
file, add the console.log
method to 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.