bee-plus 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/dist/fonts/element-icons.ttf +0 -0
- package/dist/fonts/element-icons.woff +0 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Bee Plus
|
|
2
|
+
|
|
3
|
+
> A Vue 3 Component Library.
|
|
4
|
+
|
|
5
|
+
🔗 **GitHub Repository**: [https://github.com/beekim123/bee-plus/tree/main](https://github.com/beekim123/bee-plus/tree/main)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install bee-plus
|
|
11
|
+
# or
|
|
12
|
+
pnpm add bee-plus
|
|
13
|
+
# or
|
|
14
|
+
yarn add bee-plus
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### Global Registration
|
|
20
|
+
|
|
21
|
+
In your `main.ts` or `main.js`:
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { createApp } from 'vue'
|
|
25
|
+
import App from './App.vue'
|
|
26
|
+
|
|
27
|
+
// Import Bee-Plus and its styles
|
|
28
|
+
import BeePlus from 'bee-plus'
|
|
29
|
+
import 'bee-plus/dist/index.css'
|
|
30
|
+
|
|
31
|
+
const app = createApp(App)
|
|
32
|
+
app.use(BeePlus)
|
|
33
|
+
app.mount('#app')
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Import Components Manually
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { BeeButton } from 'bee-plus'
|
|
40
|
+
import 'bee-plus/dist/index.css'
|
|
41
|
+
```
|
|
Binary file
|
|
Binary file
|