[其他] 初始化项目结构

This commit is contained in:
就眠仪式
2021-09-27 06:09:33 +08:00
commit b2fa2b90b8
73 changed files with 9752 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,9 @@
<template>
<div class="layui-header">
<slot></slot>
</div>
</template>
<script setup name="LayHeader" lang="ts">
</script>