add vitepress docs

This commit is contained in:
Timi
2026-09-21 16:05:14 +08:00
parent b435bf992e
commit 37cf38fe27
73 changed files with 7003 additions and 802 deletions
+38
View File
@@ -0,0 +1,38 @@
<template>
<div class="demo">
<root-layout
icp="京ICP备 00000000 号"
domain="example.com"
author="Timi"
>
<div class="body">
<h3 v-text="'RootLayout'" />
<p v-text="'移动端页面骨架:插槽填充主体,底部自动渲染版权与备案信息。'" />
</div>
</root-layout>
</div>
</template>
<script lang="ts" setup>
import { RootLayout } from "timi-tdesign-mobile";
</script>
<style lang="less" scoped>
.demo {
.body {
padding: 1.5rem 1rem;
h3 {
margin: 0 0 .5rem;
font-size: 1rem;
}
p {
margin: 0;
font-size: .8125rem;
line-height: 1.6;
color: var(--vp-c-text-2);
}
}
}
</style>