@abi-software/scaffoldvuer 0.4.0-vue3.3 → 0.4.0-vue3.6
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 +4 -1
- package/dist/scaffoldvuer.js +22821 -87176
- package/dist/scaffoldvuer.umd.cjs +188 -1557
- package/dist/style.css +1 -1
- package/package.json +2 -4
- package/src/App.vue +1 -1
- package/src/components/PrimitiveControls.vue +47 -65
- package/src/components/ScaffoldTooltip.vue +1 -0
- package/src/components/ScaffoldVuer.vue +16 -44
- package/src/components/TextureSlidesControls.vue +1 -1
- package/src/components.d.ts +0 -1
- package/src/scripts/Utilities.js +1 -1
- package/vite.config.js +3 -1
- package/vite.static-build.js +12 -0
- package/vue.config.js +0 -41
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This project aims to provide high-level 3D physiological models viewing capability.
|
|
4
4
|
|
|
5
|
+
Scaffoldvuer is now built with Vue3 frameworks. Vue 2 version of Scaffoldvuer is no longer in development.
|
|
6
|
+
|
|
5
7
|
|
|
6
8
|
## Scaffoldvuer on NPM
|
|
7
9
|
|
|
@@ -25,7 +27,7 @@ Install the package in your vue app project with the following command "npm i @a
|
|
|
25
27
|
Import the package in your script as followed:
|
|
26
28
|
```javascript
|
|
27
29
|
import { ScaffoldVuer } from '@abi-software/scaffoldvuer';
|
|
28
|
-
import '@abi-software/scaffoldvuer/dist/
|
|
30
|
+
import '@abi-software/scaffoldvuer/dist/style.css';
|
|
29
31
|
```
|
|
30
32
|
Local registration in vue component:
|
|
31
33
|
```javascript
|
|
@@ -39,6 +41,7 @@ export default {
|
|
|
39
41
|
```
|
|
40
42
|
|
|
41
43
|
|
|
44
|
+
|
|
42
45
|
The codes above register the ScaffoldVuer component in the global scope.
|
|
43
46
|
You can now use the ScaffoldVuer in your vue template as followed:
|
|
44
47
|
```html
|