This commit is contained in:
donghym
2026-05-31 21:26:47 +08:00
parent 5470393061
commit 7fd3fc1ca1
3 changed files with 5 additions and 37 deletions
+3
View File
@@ -4,6 +4,9 @@ import { resolve } from 'path'
export default defineConfig({
// host: '0.0.0.0',
// port: 8000,
scripts: [
`if (location.pathname === '/' || location.pathname === '') { location.replace('/guide/introduce'); }`,
],
themeConfig: {
name: 'RustUI',
logo: false,
-35
View File
@@ -1,35 +0,0 @@
---
nav: Guide
title: Introduction
---
# RustUI
AI-Native component library for modern visualization.
## Features
- **AI-First** — Zero-ambiguity APIs designed for AI code generation
- **Type Safe** — Full type inference with TypeScript
- **Flexible Theme** — Full theme customization via CSS variables
- **Tree Shaking** — Modular architecture, only bundle what you use
## Installation
```bash
npm install rustui
# or
pnpm add rustui
```
## Quick Start
```tsx
import { Button } from 'RustUI'
export default () => (
<Button variant="solid" color="primary">
Hello RustUI
</Button>
)
```
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: RustUI
hero:
title: RustUI