Appearance
wiz-block
Use the wiz-block component to add blocks to your sites. For more information, see Blocks and modules.
Learn more about components
Usage
To add the wiz-block component to your site and change its properties, in the App.vue file:
Add the
wiz-blockcomponent to your site template.html<!--./App.vue --> <template> <wiz-root align="center" style="background: #ffffff; width: 700px;"> <wiz-block id="block1"> </wiz-block> </wiz-root> </template>The
idattribute is required for correct display of the component styles in eWizard Editor.Insert other components inside the block, for example
wiz-text:html<!--./App.vue --> <template> <wiz-root align="center" style="background: #ffffff; width: 700px;"> <wiz-block> <wiz-text :text="$t('heading')" id="heading"></wiz-text> </wiz-block> </wiz-root> </template>