@vertexvis/doc-viewer-vue 1.1.1-testing.3 → 1.1.1-testing.4
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 +7 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -26,16 +26,16 @@ export default defineConfig({
|
|
|
26
26
|
vue({
|
|
27
27
|
template: {
|
|
28
28
|
compilerOptions: {
|
|
29
|
-
isCustomElement: (tag) => tag.includes('vertex-')
|
|
30
|
-
}
|
|
31
|
-
}
|
|
29
|
+
isCustomElement: (tag) => tag.includes('vertex-'),
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
32
|
}),
|
|
33
|
-
vueJsx()
|
|
34
|
-
]
|
|
33
|
+
vueJsx(),
|
|
34
|
+
],
|
|
35
35
|
});
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Next, `@vertexvis/doc-viewer-vue` includes a Vue [Plugin][vue plugins],
|
|
38
|
+
Next, `@vertexvis/doc-viewer-vue` includes a Vue [Plugin][vue plugins],
|
|
39
39
|
`VertexDocumentViewerPlugin`, that needs to be added to the Vue App. It also
|
|
40
40
|
includes a global stylesheet with default styling. Consult your bundler's
|
|
41
41
|
documentation on how to bundle CSS with your project's bundler.
|
|
@@ -56,7 +56,7 @@ Lastly, use the component wrappers in one of your Vue components.
|
|
|
56
56
|
<script setup lang="ts">
|
|
57
57
|
import { onMounted, ref } from 'vue';
|
|
58
58
|
import workerSrc from '@vertexvis/doc-viewer/assets/pdf.worker.min.mjs?url';
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
const viewer = ref<HTMLVertexDocumentViewerElement | null>(null);
|
|
61
61
|
|
|
62
62
|
onMounted(async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertexvis/doc-viewer-vue",
|
|
3
|
-
"version": "1.1.1-testing.
|
|
3
|
+
"version": "1.1.1-testing.4",
|
|
4
4
|
"description": "Vue bindings for the Vertex Document Viewer SDK.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vertex Developers <support@vertex3d.com> (https://developer.vertex3d.com)",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@stencil/vue-output-target": "^0.14.1",
|
|
46
|
-
"@vertexvis/doc-viewer": "1.1.1-testing.
|
|
46
|
+
"@vertexvis/doc-viewer": "1.1.1-testing.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@vertexvis/eslint-config-vertexvis-typescript": "^0.6.2",
|
|
50
|
-
"@vertexwebsdk/build": "1.1.1-testing.
|
|
50
|
+
"@vertexwebsdk/build": "1.1.1-testing.4",
|
|
51
51
|
"eslint": "^9.39.5",
|
|
52
52
|
"rollup": "^4.62.4",
|
|
53
53
|
"tslib": "^2.8.1",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"tslib": ">=2.4.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "8961c2d4b48c1b08c26426a43148d2de095abcd3"
|
|
60
60
|
}
|