<template>
  <div id="app">
    <ElementForm :form="form" sub-name="提交" />
  </div>
</template>

<script>
import fields from '../packages/element-form/src/configForm'
export default {
  name: 'App',
  data(){
    return {
      form: fields
    }
  }
}
</script>

<style>
*{margin: 0;padding: 0}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
  overflow: hidden;
  padding: 2% 20%;
}
</style>
