add alpha branch

This commit is contained in:
就眠儀式
2022-01-27 16:18:16 +08:00
parent 5c79b2b9ba
commit 5ea8b7bf7c
103 changed files with 577 additions and 474 deletions

View File

@@ -1,9 +1,8 @@
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
Component.install = (app: App) => {
app.component(Component.name || "laySplitPanel", Component);
app.component(Component.name, Component);
};
export default Component as IDefineComponent;
export default Component;

View File

@@ -11,7 +11,13 @@
</div>
</template>
<script setup name="laySplitPanel" lang="ts">
<script lang="ts">
export default {
name: "laySplitPanel"
}
</script>
<script setup lang="ts">
import { ref, watch, provide, defineProps, withDefaults, onMounted } from "vue";
import "./index.less";