Appearance
wiz-link
Use this element to add links.
Installation
Run following command in the terminal to install the module:
wiz install wiz-linkLink
import wizLink from 'wiz-link';
Add this link directly to the layout (App.vue) or block (./common/blocks/ or ./common/blocks-library/):
export default {
components: {
wizLink
}
...Basic usage
Markup:
<wiz-link :link="link" :text="$t('text')"></wiz-link>Script:
export default {
name: 'block1',
data: function () {
return {
link:'https://viseven.com/'
}
}
}Localization:
<i18n>
{
"en": {
"text": "My awesome text"
}
}
</i18n>Parameters
text (String) - string with text (e.g.:'My awesome text') or keypath to localized text ("$t('text')")
link (String) - string with link. Default value is 'https://viseven.com/'