|
@@ -14,7 +14,7 @@ import 'element-ui/lib/theme-chalk/index.css';
|
|
|
Vue.use(ElementUI);
|
|
|
Vue.prototype.$get = httpServer.get;
|
|
|
Vue.prototype.$post = httpServer.post;
|
|
|
-import { registerMicroApps, start } from 'qiankun'
|
|
|
+
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
@@ -24,40 +24,6 @@ new Vue({
|
|
|
render: h => h(App)
|
|
|
}).$mount("#app");
|
|
|
|
|
|
-import { getAll } from '@/libs/micros'
|
|
|
-console.log(getAll())
|
|
|
-
|
|
|
-registerMicroApps([
|
|
|
- {
|
|
|
- name: 'app-vue-hash',
|
|
|
- entry: 'http://localhost:8081',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/app-vue-hash',
|
|
|
- props: { data: { store, router } }
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'fjhxCloudVue',
|
|
|
- entry: 'http://localhost:1777',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/fjhxCloudVue',
|
|
|
- props: { data: { store, router } }
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'iotPlatformRoom',
|
|
|
- entry: 'http://localhost:1888',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/iotPlatformRoom',
|
|
|
- props: { data: { store, router } }
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'canvas',
|
|
|
- entry: 'http://localhost:8080',
|
|
|
- container: '#appContainer',
|
|
|
- activeRule: '/main/canvas',
|
|
|
- props: { data: store }
|
|
|
- },
|
|
|
-]);
|
|
|
|
|
|
-start();
|
|
|
|
|
|
|