refactor: register ant-design-vue components in main.js #28

This commit is contained in:
iczer
2018-09-20 11:41:28 +08:00
committed by chenghx
parent 2137ccd4b3
commit f8f0294c58
56 changed files with 30 additions and 520 deletions

View File

@@ -16,7 +16,6 @@
</template>
<script>
import AIcon from 'ant-design-vue/es/icon/icon'
import Draggable from 'vuedraggable'
const dragOptions = {
@@ -31,7 +30,7 @@ const dragOptions = {
export default {
name: 'TaskGroup',
components: {AIcon, Draggable},
components: {Draggable},
props: ['title', 'group'],
data () {
return {

View File

@@ -5,11 +5,9 @@
</template>
<script>
import ACard from 'ant-design-vue/es/card/Card'
export default {
name: 'TaskItem',
props: ['content'],
components: {ACard}
props: ['content']
}
</script>