|
|
@@ -7,6 +7,7 @@ import 'viewerjs/dist/viewer.css'
|
|
|
import Viewer from 'v-viewer'
|
|
|
|
|
|
|
|
|
+import '../common/components.less';
|
|
|
import Button from '../common/button/index.js';
|
|
|
|
|
|
|
|
|
@@ -27,13 +28,13 @@ const install = function(Vue) {
|
|
|
components.forEach(component => {
|
|
|
Vue.component(component.name, component);
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
};
|
|
|
|
|
|
+
|
|
|
/* istanbul ignore if */
|
|
|
-if (typeof window !== 'undefined' && window.Vue) {
|
|
|
- install(window.Vue);
|
|
|
+if (Vue) {
|
|
|
+ console.log('执行');
|
|
|
+ install(Vue);
|
|
|
}
|
|
|
|
|
|
Vue.config.productionTip = false
|