kritzel-vue 0.0.21 → 0.0.37
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 +24 -5
- package/dist/plugin.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,11 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Setup
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Install the kritzel-vue package.
|
|
4
|
+
```
|
|
5
|
+
npm i kritzel-vue
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Import the ComponentLibrary register it as a plugin.
|
|
9
|
+
```typescript
|
|
10
|
+
import { createApp } from 'vue'
|
|
11
|
+
import App from './App.vue'
|
|
12
|
+
import { ComponentLibrary } from 'kritzel-vue'
|
|
4
13
|
|
|
5
|
-
|
|
14
|
+
createApp(App).use(ComponentLibrary).mount('#app')
|
|
6
15
|
|
|
7
16
|
```
|
|
8
|
-
const vue = require('vue');
|
|
9
17
|
|
|
10
|
-
|
|
18
|
+
Add MyList to your imports to use it in your component template.
|
|
19
|
+
```typescript
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import { MyList } from 'kritzel-vue';
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<MyList></MyList>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<style scoped>
|
|
29
|
+
</style>
|
|
11
30
|
```
|
package/dist/plugin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-vue",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "> TODO: description",
|
|
5
|
-
"author": "kasual1 <seifertluk11@gmail.com>",
|
|
3
|
+
"version": "0.0.37",
|
|
6
4
|
"homepage": "https://gitlab.com/kasual1/kritzel#readme",
|
|
7
5
|
"license": "ISC",
|
|
8
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +31,9 @@
|
|
|
33
31
|
"access": "public"
|
|
34
32
|
},
|
|
35
33
|
"dependencies": {
|
|
36
|
-
"@stencil/vue-output-target": "0.8.9"
|
|
37
|
-
|
|
34
|
+
"@stencil/vue-output-target": "0.8.9"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"kritzel-stencil": "^0.0.37"
|
|
38
38
|
}
|
|
39
39
|
}
|