tokenizer-ui-kit 0.0.11 → 0.0.13
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 +1 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ import "tokenizer-ui-kit/dist/tokenizer-ui-kit.css";
|
|
|
50
50
|
<template>
|
|
51
51
|
<div>
|
|
52
52
|
<DatePicker v-model="selectedDate" />
|
|
53
|
-
<CButton @click="handleClick"
|
|
53
|
+
<CButton @click="handleClick">Click me</CButton>
|
|
54
54
|
<CircularLoader v-if="loading" />
|
|
55
55
|
</div>
|
|
56
56
|
</template>
|
|
@@ -112,23 +112,6 @@ const selectedDate = ref(null);
|
|
|
112
112
|
</template>
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
#### Option 4: Using Nuxt plugins
|
|
116
|
-
|
|
117
|
-
```typescript
|
|
118
|
-
// plugins/tokenizer-ui-kit.client.ts
|
|
119
|
-
export default defineNuxtPlugin(() => {
|
|
120
|
-
// Import CSS only on client side
|
|
121
|
-
import("tokenizer-ui-kit/dist/tokenizer-ui-kit.css");
|
|
122
|
-
});
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## ⚠️ Important Notes
|
|
126
|
-
|
|
127
|
-
- **CSS Styles**: Always import the CSS file for proper component styling
|
|
128
|
-
- **Date Picker**: Requires CSS for calendar popup to display correctly
|
|
129
|
-
- **TypeScript**: Full TypeScript support included
|
|
130
|
-
- **Nuxt**: Use `nuxt.config.ts` for global CSS import (recommended)
|
|
131
|
-
|
|
132
115
|
## 📚 Documentation
|
|
133
116
|
|
|
134
117
|
Each component comes with TypeScript support and comprehensive documentation.
|