kritzel-vue 0.1.82 → 0.1.84
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 +31 -31
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# Setup
|
|
2
|
-
|
|
3
|
-
Install the kritzel-vue package.
|
|
4
|
-
```
|
|
5
|
-
npm i kritzel-vue
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
Import the ComponentLibrary and register it as a plugin.
|
|
9
|
-
```typescript
|
|
10
|
-
import { createApp } from 'vue'
|
|
11
|
-
import App from './App.vue'
|
|
12
|
-
import { ComponentLibrary } from 'kritzel-vue'
|
|
13
|
-
|
|
14
|
-
createApp(App).use(ComponentLibrary).mount('#app')
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Import Kritzel components to use them in your template.
|
|
19
|
-
```html
|
|
20
|
-
<script setup lang="ts">
|
|
21
|
-
import { KritzelEngine, KritzelControls } from 'kritzel-vue';
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<template>
|
|
25
|
-
<KritzelEngine></KritzelEngine>
|
|
26
|
-
<KritzelControls></KritzelControls>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<style scoped>
|
|
30
|
-
</style>
|
|
31
|
-
```
|
|
1
|
+
# Setup
|
|
2
|
+
|
|
3
|
+
Install the kritzel-vue package.
|
|
4
|
+
```
|
|
5
|
+
npm i kritzel-vue
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Import the ComponentLibrary and register it as a plugin.
|
|
9
|
+
```typescript
|
|
10
|
+
import { createApp } from 'vue'
|
|
11
|
+
import App from './App.vue'
|
|
12
|
+
import { ComponentLibrary } from 'kritzel-vue'
|
|
13
|
+
|
|
14
|
+
createApp(App).use(ComponentLibrary).mount('#app')
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Import Kritzel components to use them in your template.
|
|
19
|
+
```html
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import { KritzelEngine, KritzelControls } from 'kritzel-vue';
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<KritzelEngine></KritzelEngine>
|
|
26
|
+
<KritzelControls></KritzelControls>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
</style>
|
|
31
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-vue",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"homepage": "https://
|
|
3
|
+
"version": "0.1.84",
|
|
4
|
+
"homepage": "https://github.com/kasual1/kritzel#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "
|
|
17
|
+
"url": "https://github.com/kasual1/kritzel.git"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"release": "npm publish"
|
|
26
26
|
},
|
|
27
27
|
"bugs": {
|
|
28
|
-
"url": "https://
|
|
28
|
+
"url": "https://github.com/kasual1/kritzel/issues"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"@stencil/vue-output-target": "0.11.8"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"kritzel-stencil": "^0.1.
|
|
37
|
+
"kritzel-stencil": "^0.1.84"
|
|
38
38
|
}
|
|
39
39
|
}
|