demo 原始链接:https://vux.li/demos/v2/#/component/divider
\n下面的$t是Demo的i18n使用的翻译函数,一般情况下可以直接使用字符串。另外,下面代码隐藏了i18n标签部分的代码。
\n<template>\n<div>\n <divider>{{ $t('I have bottom line') }}</divider>\n</div>\n</template>\n\n\n\n<script>\nimport { Divider } from 'vux'\n\nexport default {\n components: {\n Divider\n }\n}\n</script>\n
\n