Appearance
wiz-title
Use this component to output localizable title.
Installation
Run following command in the terminal to install the module:
wiz install wiz-titleLink
import wizTitle from 'wiz-title';
Add this link directly to the layout (App.vue) or block (./common/blocks/ or ./common/blocks-library/):
export default {
components: {
wizTitle
}
...Basic usage
Markup:
<wiz-title :text="$t('text')"></wiz-title>Localization:
<i18n>
{
"en": {
"text": "My awesome title"
}
}
</i18n>Parameters
text (String) - string with text (e.g.:'My awesome text') or keypath to localized text ("$t('text')")