# yingzios-platform-frontend-core

YingziOS 前端核心库 - 提供微前端应用契约与导航类型定义。

## 功能

- **App Contract** - 微前端应用契约定义
- **Navigation Types** - 导航类型和接口
- **Base Path Utilities** - 基础路径工具函数

## 安装

```bash
pnpm add yingzios-platform-frontend-core
```

## 使用示例

```typescript
import { AppShellContract, NavigationItem } from 'yingzios-platform-frontend-core';

// 实现应用契约
const appContract: AppShellContract = {
  name: 'my-app',
  version: '1.0.0',
  // ... 其他配置
};

// 定义导航项
const navItems: NavigationItem[] = [
  {
    path: '/dashboard',
    label: '仪表盘',
    icon: 'DashboardOutlined',
  },
];
```

## TypeScript 支持

本库使用 TypeScript 编写，提供完整的类型定义。

## License

MIT
