no message

Former-commit-id: 0d46efaec4352360b3e8b12b5c7f06ef5c669e22
Former-commit-id: dc0e4e08b01bccd0fb2f22bbe7d7e01071023109
Former-commit-id: fc47f30876d0fbf300841772cfe18bee2f097964
This commit is contained in:
李杨
2018-01-28 09:40:57 +08:00
parent 86cf8c9b1a
commit 705a2627ce
5 changed files with 16 additions and 1 deletions

5
src/components/G2/G2.js Normal file
View File

@@ -0,0 +1,5 @@
export default {
created () {
this.$log('G2', 'created')
}
}

View File

@@ -0,0 +1,3 @@
<template>
<div>G2</div>
</template>

View File

@@ -0,0 +1,3 @@
import Vue from 'vue'
Vue.component('G2Line1', resolve => { require(['@/components/G2/Line1.vue'], resolve) })

View File

@@ -2,3 +2,5 @@
import './core'
// 非核心组件 只是在很多演示页面中用到的组件
import './demo'
// 图表组件
import './G2'

View File

@@ -11,7 +11,9 @@
@move="moveHandler"
@resized="resizedHandler"
@moved="movedHandler">
<el-card></el-card>
<el-card>
<G2Line1></G2Line1>
</el-card>
</GridItem>
</GridLayout>
</Container>