fl-web-component 1.0.5 → 1.0.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/dist/fl-web-component.common.js +432 -5
- package/dist/fl-web-component.umd.js +432 -5
- package/dist/fl-web-component.umd.min.js +29 -24
- package/package.json +1 -1
- package/src/main.js +2 -0
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import FlModel from '../packages/components/com-graphics/index.vue';
|
|
2
2
|
import Fl2dcanvas from '../packages/components/com-flcanvas/index.vue';
|
|
3
|
+
import * as THREE from 'three';
|
|
3
4
|
const components = [
|
|
4
5
|
FlModel,
|
|
5
6
|
Fl2dcanvas
|
|
6
7
|
];
|
|
7
8
|
|
|
8
9
|
const install = (Vue) => {
|
|
10
|
+
Vue.prototype.THREE = THREE
|
|
9
11
|
components.forEach(component => {
|
|
10
12
|
Vue.component(component.name, component);
|
|
11
13
|
});
|