Skip to content

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:

FieldDescription
content.typeThe project type. For social media posts, the value is social.
path.blocksThe directory where the blocks are stored.
path.blocksFilenameThe name of the file that defines the blocks to show on the elements panel in eWizard Editor.
path.blocksManifestA path to the file that defines the blocks to show on the elements panel in eWizard Editor.
path.localBlocksThe directory where the local blocks are stored.
path.componentsFilenameThe 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.localComponentsThe directory where the local components are stored.
path.modulesFilenameThe name of the file that defines the modules to show on the elements panel in eWizard Editor.
path.modulesManifestThe path to the file that defines the modules to show on the elements panel in eWizard Editor.
path.bundleThe path to the file with the development build.
path.rootComponentThe root file of the social media post.
path.slidesThe directory where the slides are stored.
path.themesThe directory where the themes are stored.
path.settingsThe name of the file with the social media post settings.
path.iconThe name of the file with the social media post icon.
path.icon2xThe name of the file with the large version of the social media post icon.
path.previewThe name of the file with the project preview image.
path.slide.thumbnailThe path to the slide thumbnail inside the slide directory.
path.slide.screenshotThe path to the slide screenshot inside the slide directory.
path.common.i18nThe directory with content localization. For more information, see Localization.
path.common.media.imagesThe directory with common images.
path.common.media.videosThe directory with common videos.
path.common.media.pdfsThe directory with common PDF files.
path.common.media.fontsThe directory with common fonts.
path.common.referencesThe path to the file that defines which references appear in eWizard Editor. For more information, see References.
path.common.captionThe path to the file with the post caption. The default value is common/i18n/caption.json.