System settings
You can modify the content type and path settings in the .ewizard/settings.json file.
json
// ./.ewizard/settings.json
{
"content": {
"type": "social"
},
"path": {
"blocks": "common/blocks-library",
"blocksFilename": "blocks.json",
"blocksManifest": "common/blocks-library/blocks.json",
"modulesFilename": "modules.json",
"modulesManifest": "common/blocks-library/modules.json",
"localBlocks": "common/blocks",
"componentsFilename": "components.json",
"localComponents": "common/components",
"bundle": "build/dev/app.js",
"rootComponent": "App.vue",
"slides": "slides",
"themes": "themes",
"settings": "settings.json",
"icon": "icon.png",
"icon2x": "icon@2x.png",
"preview": "preview.jpg",
"slide": {
"thumbnail": "media/images/thumb.jpg",
"screenshot": "media/images/screenshot.jpg"
},
"common": {
"i18n": "common/i18n",
"media": {
"images": "common/media/images",
"videos": "common/media/videos",
"pdfs": "common/media/pdfs",
"fonts": "common/media/fonts"
},
"references": "common/resources/references.json"
}
}
}The .ewizard/settings.json file has the following fields:
| Field | Description |
|---|---|
content.type | The project type. For social media posts, the value is social. |
path.blocks | The directory where the blocks are stored. |
path.blocksFilename | The name of the file that defines the blocks to show on the elements panel in eWizard Editor. |
path.blocksManifest | A path to the file that defines the blocks to show on the elements panel in eWizard Editor. |
path.localBlocks | The directory where the local blocks are stored. |
path.componentsFilename | The name of the file that defines the components to show on the elements panel in eWizard Editor. For more information, see Component availability in eWizard Editor. |
path.localComponents | The directory where the local components are stored. |
path.modulesFilename | The name of the file that defines the modules to show on the elements panel in eWizard Editor. |
path.modulesManifest | The path to the file that defines the modules to show on the elements panel in eWizard Editor. |
path.bundle | The path to the file with the development build. |
path.rootComponent | The root file of the social media post. |
path.slides | The directory where the slides are stored. |
path.themes | The directory where the themes are stored. |
path.settings | The name of the file with the social media post settings. |
path.icon | The name of the file with the social media post icon. |
path.icon2x | The name of the file with the large version of the social media post icon. |
path.preview | The name of the file with the project preview image. |
path.slide.thumbnail | The path to the slide thumbnail inside the slide directory. |
path.slide.screenshot | The path to the slide screenshot inside the slide directory. |
path.common.i18n | The directory with content localization. For more information, see Localization. |
path.common.media.images | The directory with common images. |
path.common.media.videos | The directory with common videos. |
path.common.media.pdfs | The directory with common PDF files. |
path.common.media.fonts | The directory with common fonts. |
path.common.references | The path to the file that defines which references appear in eWizard Editor. For more information, see References. |
path.common.caption | The path to the file with the post caption. The default value is common/i18n/caption.json. |