https://github.com/vuluu2k/storecake_components
Components of storecake
https://github.com/vuluu2k/storecake_components
component library
Last synced: 5 months ago
JSON representation
Components of storecake
- Host: GitHub
- URL: https://github.com/vuluu2k/storecake_components
- Owner: vuluu2k
- Created: 2025-07-26T04:15:44.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-07T10:05:35.000Z (11 months ago)
- Last Synced: 2025-08-14T01:49:15.704Z (11 months ago)
- Topics: component, library
- Language: Vue
- Homepage: https://vuluu2k.github.io/storecake_components/
- Size: 17.2 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StoreCake Components
Thư viện component UI tùy chỉnh cho các dự án StoreCake, được xây dựng với Vue 3, TypeScript, Vite và Tailwind CSS.
## Cài đặt
```bash
# Sử dụng npm
npm install storecake_component
# Hoặc sử dụng yarn
yarn add storecake_component
```
## Cách sử dụng
### Cài đặt toàn bộ thư viện
```javascript
import { createApp } from 'vue'
import App from './App.vue'
import StoreCakeComponents from 'storecake_component'
import 'storecake_component/dist/style.css' // Import CSS
const app = createApp(App)
app.use(StoreCakeComponents)
app.mount('#app')
```
### Sử dụng từng component riêng lẻ
```javascript
import { Button, Input } from 'storecake_component'
export default {
components: {
Button,
Input
}
}
```
## Các component có sẵn
- `Button` - Nút tùy chỉnh với nhiều biến thể
- `Input` - Trường nhập liệu tùy chỉnh
- (Thêm các component khác tại đây)
## Tùy chỉnh theme
Bạn có thể tùy chỉnh theme bằng cách ghi đè các biến CSS tùy chỉnh hoặc mở rộng cấu hình Tailwind trong dự án của bạn.
## Phát triển
```bash
# Cài đặt dependencies
npm install
# Chạy chế độ phát triển
npm run dev
# Build thư viện
npm run build
# Chạy test
npm run test
```
## Tác giả
- [Tên của bạn] - [email@example.com]
## Giấy phép
Dự án này được cấp phép theo giấy phép MIT - xem file [LICENSE](LICENSE) để biết thêm chi tiết.