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,6 +1,6 @@
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
import type { IDefineComponent } from "../../types/index";
Component.install = (app: App) => {
app.component(Component.name || "LayCollapse", Component);

View File

@@ -1,10 +1,9 @@
<template>
<div class="layui-collapse">
<slot></slot>
</div>
</template>
<script lang="ts">
export default {
name:"LayCollapse"
}
</script>
<script setup name="LayCollapse"></script>
<script setup lang="ts">
import {
withDefaults,
@@ -43,3 +42,9 @@ provide("layCollapse", {
emit,
});
</script>
<template>
<div class="layui-collapse">
<slot></slot>
</div>
</template>