@public-ui/vue 4.0.0-alpha.0 → 4.0.0-alpha.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # KoliBri - Vue-Adapter
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@public-ui/vue)](https://www.npmjs.com/package/@public-ui/components)
4
+ [![license](https://img.shields.io/npm/l/@public-ui/vue)](https://github.com/public-ui/kolibri/blob/main/LICENSE)
5
+ [![downloads](https://img.shields.io/npm/dt/@public-ui/vue)](https://www.npmjs.com/package/@public-ui/vue)
6
+ [![issues](https://img.shields.io/github/issues/public-ui/kolibri)](https://github.com/public-ui/kolibri/issues)
7
+ [![pull requests](https://img.shields.io/github/issues-pr/public-ui/kolibri)](https://github.com/public-ui/kolibri/pulls)
8
+ [![size](https://img.shields.io/bundlephobia/min/@public-ui/vue)](https://bundlephobia.com/result?p=@public-ui/vue)
9
+ ![contributors](https://img.shields.io/github/contributors/public-ui/kolibri)
10
+
3
11
  ## Motivation
4
12
 
5
13
  Provide an adapter for [Vue](https://vuejs.org/) to use the KoliBri components.
@@ -9,18 +17,18 @@ Provide an adapter for [Vue](https://vuejs.org/) to use the KoliBri components.
9
17
  You can install the adapter with `npm`, `pnpm` or `yarn`:
10
18
 
11
19
  ```bash
12
- npm i -g @public-ui/vue
13
- pnpm i -g @public-ui/vue
14
- yarn add -g @public-ui/vue
20
+ npm i @public-ui/vue
21
+ pnpm i @public-ui/vue
22
+ yarn add @public-ui/vue
15
23
  ```
16
24
 
17
25
  ## Usage
18
26
 
19
- First, initialize KoliBri with a [theme](https://github.com/public-ui/kolibri/tree/develop/packages/themes) and create a Vue app:
27
+ First, initialize KoliBri with a [theme](https://github.com/public-ui/kolibri/tree/develop/packages/vue) and create a Vue app:
20
28
 
21
29
  ```ts
22
30
  import { createApp } from 'vue';
23
- import { DEFAULT } from '@public-ui/themes';
31
+ import { DEFAULT } from '@public-ui/theme-default';
24
32
  import { defineCustomElements } from '@public-ui/components/dist/loader';
25
33
  import { register } from '@public-ui/components';
26
34
 
@@ -40,6 +48,8 @@ Then, you can import any component from `@public-ui/vue` and render it within yo
40
48
  import { KolButton } from '@public-ui/vue';
41
49
  </script>
42
50
  <template>
43
- <KolButton _label="Hello World" />
51
+ <KolButton _label="Hello World" />
44
52
  </template>
45
53
  ```
54
+
55
+ Find available design tokens in the [default theme README](../../themes/default/README.md).