(壹)笔记:五种不同场景下国际化(Vue I18n)的设置

1、在 htmlel-button 中国际化的使用(场景一):

其一、在 html 中使用国际化的代码展示:

<div>
  {
   {
   $t('spmp.add')}}
</div>

其二、在 el-button 中使用国际化的代码展示:

<el-button

你可能感兴趣的:(vue.js,javascript,前端,国际化,经验分享)