diff --git a/Page.interface.txt b/Page.interface.txt new file mode 100644 index 0000000..c43b518 --- /dev/null +++ b/Page.interface.txt @@ -0,0 +1,14 @@ +interface Container { + name: 容器名 + type: 页面容器,tab容器,弹窗容器 + components: [component,component,component] +} + +interface Component extend Container{ + name: + type: + props +} + +// 每个容器组件有对应的渲染模板来渲染包含的子组件如tabs用的是TabContainer.template,Modal用的是Modal.template,生成单独的modal.vue文件 +