@adyen/lume 0.1.6 → 0.1.7
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 +21 -16
- package/dist/common/{df7327e8.js → 6ff56de1.js} +1034 -1014
- package/dist/common/6ff56de1.js.map +1 -0
- package/dist/common/{2c318357.js → b0ac241a.js} +2 -2
- package/dist/common/b0ac241a.js.map +1 -0
- package/dist/common/{b0835720.js → d5a10e28.js} +2 -2
- package/dist/common/d5a10e28.js.map +1 -0
- package/dist/common/{797e4fbd.js → dc78ff18.js} +2 -2
- package/dist/common/dc78ff18.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/scss/main.scss +2 -2
- package/dist/styles/main.css +1 -1
- package/package.json +9 -5
- package/dist/common/2c318357.js.map +0 -1
- package/dist/common/797e4fbd.js.map +0 -1
- package/dist/common/b0835720.js.map +0 -1
- package/dist/common/df7327e8.js.map +0 -1
package/README.md
CHANGED
|
@@ -8,6 +8,11 @@ Lume is a library for graphical representations of information and data. By usin
|
|
|
8
8
|
|
|
9
9
|
**[Design guidelines (Figma)](https://www.figma.com/file/r9fPqTXA4dlP6SIyfmGlDC/%F0%9F%8C%9D-Lume---Data-Visualization-Library)**
|
|
10
10
|
|
|
11
|
+
- [Stack](#stack)
|
|
12
|
+
- [Getting started](#getting-started)
|
|
13
|
+
- [Development](#development)
|
|
14
|
+
- [Contacts](#contacts)
|
|
15
|
+
|
|
11
16
|
## Stack
|
|
12
17
|
|
|
13
18
|
### Dependencies
|
|
@@ -36,24 +41,9 @@ To install Lume, run the following command:
|
|
|
36
41
|
$ npm install @adyen/lume
|
|
37
42
|
```
|
|
38
43
|
|
|
39
|
-
### Plugin
|
|
40
|
-
|
|
41
|
-
The default export of Lume is a Vue plugin that you can install in your global Vue setup:
|
|
42
|
-
|
|
43
|
-
```ts
|
|
44
|
-
import Vue from 'vue';
|
|
45
|
-
import Lume from '@adyen/lume';
|
|
46
|
-
|
|
47
|
-
import App from './my-app.vue';
|
|
48
|
-
|
|
49
|
-
Vue.use(Lume);
|
|
50
|
-
|
|
51
|
-
const app = new Vue(App).$mount('#root');
|
|
52
|
-
```
|
|
53
|
-
|
|
54
44
|
### Components
|
|
55
45
|
|
|
56
|
-
|
|
46
|
+
You can import Lume components to your Vue app:
|
|
57
47
|
|
|
58
48
|
```ts
|
|
59
49
|
// SFC <script type="ts">
|
|
@@ -67,6 +57,21 @@ export default defineComponent({
|
|
|
67
57
|
});
|
|
68
58
|
```
|
|
69
59
|
|
|
60
|
+
### Plugin
|
|
61
|
+
|
|
62
|
+
You can also import Lume as a Vue plugin that you install in your global Vue setup:
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
import Vue from 'vue';
|
|
66
|
+
import LumePlugin from '@adyen/lume/plugin';
|
|
67
|
+
|
|
68
|
+
import App from './my-app.vue';
|
|
69
|
+
|
|
70
|
+
Vue.use(LumePlugin);
|
|
71
|
+
|
|
72
|
+
const app = new Vue(App).$mount('#root');
|
|
73
|
+
```
|
|
74
|
+
|
|
70
75
|
## Development
|
|
71
76
|
|
|
72
77
|
### Quick start
|