A React component library for Taro.js applications with TailwindCSS support.
- 🎨 Built with TailwindCSS and Tailwind Variants
- 📦 Monorepo architecture with pnpm workspaces
- 🔧 Powered by Moon build system
- 🎯 TypeScript support
- 📱 Cross-platform components for mini-programs
-
Moon Build System
-
Taro.js
-
React 18
-
TailwindCSS
-
Tailwind Variants
-
TypeScript
srcube-taro/
├── apps/
│ └── sample/ # Demo application
├── packages/
│ ├── core/
│ │ ├── ui/ # Main UI package
│ │ └── plugins/ # TailwindCSS plugins
│ ├── ui/ # UI components
│ │ ├── [component]/
│ └── utils/ # Shared utilities
│ └── [util]/
└── envs/ # Shared configurations
└── [config]/
- Moon >= 1.0.0
- Node.js >= 18.20.5
- pnpm >= 9.15.1
Install dependencies
pnpm install
moon sample:dev-weapp
moon :build
Each component follows a consistent structure:
packages/ui/[component]/
├── src/
| ├── [component].tsx
| ├── index.ts
| ├── style.ts
| └── use.ts
├── moon.yml
├── package.json
├── tsconfig.json
├── tsup.config.ts
└── README.md
Coming soon...
MIT