v 1.6.0.preview1 - TaskList Slots
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// 导出所有组件
|
||||
export { default as GanttChart } from './components/GanttChart.vue'
|
||||
export { default as TaskList } from './components/TaskList.vue'
|
||||
export { default as TaskListColumn } from './components/TaskListColumn.vue'
|
||||
export { default as Timeline } from './components/Timeline.vue'
|
||||
export { default as TaskBar } from './components/TaskBar.vue'
|
||||
export { default as TaskDrawer } from './components/TaskDrawer.vue'
|
||||
@@ -26,9 +27,11 @@ import './styles/theme-variables.css'
|
||||
// 导出安装函数(可选,用于Vue.use())
|
||||
import type { App } from 'vue'
|
||||
import GanttChart from './components/GanttChart.vue'
|
||||
import TaskListColumn from './components/TaskListColumn.vue'
|
||||
|
||||
export const install = (app: App) => {
|
||||
app.component('GanttChart', GanttChart)
|
||||
app.component('TaskListColumn', TaskListColumn)
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user