Initial project

This commit is contained in:
Timi
2025-07-08 16:33:11 +08:00
parent 772ac5fcc5
commit 26a60a6a7d
22 changed files with 10476 additions and 129 deletions
+10
View File
@@ -0,0 +1,10 @@
/** 导出所有组件 */
import RootLayout from "./root-layout";
export default [
RootLayout
];
export {
RootLayout
};
+5
View File
@@ -0,0 +1,5 @@
import view from "./index.vue";
import { Toolkit } from "timi-web";
export const RootLayout = Toolkit.withInstall(view);
export default RootLayout;
+31
View File
@@ -0,0 +1,31 @@
<template>
<div class="tui-root-layout">
<slot></slot>
<copyright :icp="icp" :domain="domain" :author="author" />
</div>
</template>
<script lang="ts" setup>
import { Copyright } from "timi-web";
defineOptions({
name: "RootLayout"
});
withDefaults(defineProps<{
icp?: string;
domain?: string;
author?: string;
}>(), {
});
</script>
<style lang="less" scoped>
.tui-root-layout {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
</style>