el-typography-form

a typography form base element-ui

Usage no npm install needed!

<script type="module">
  import elTypographyForm from 'https://cdn.skypack.dev/el-typography-form';
</script>

README

el-typography-form

a typography form base element-ui

demo

Usage

Install

import Vue from 'vue'
import elTypographyForm from 'el-typography-form'
Vue.use(elTypographyForm)

Using in vue

<template>
  <div>
    <el-typography-form
      :value='{
        "font-weight":"400",
        "font-size":"22px",
        "color":"#ed3013",
        "text-align":"left",
        "font-style":"italic",
        "text-decoration-line":"underline",
        "font-family":"Georgia, serif",
        "line-height":"1.5"
      }'
    />
    <p>Hello,我爱中国,1234567890,欢迎新同学,新年快乐。</p>
  </div>
</template>