Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { defineRuntimeConfig } from '@modern-js/runtime';
- export default defineRuntimeConfig({
- masterApp: {
- apps: [
- {
- name: 'Header',
- entry: 'http://localhost:8081',
- // activeWhen: '/',
- activeWhen: () => true,
- },
- {
- name: 'Table',
- entry: 'http://localhost:8082',
- activeWhen: '/table',
- },
- {
- name: 'Footer',
- entry: 'http://localhost:8083',
- // activeWhen: '/',
- activeWhen: () => true,
- },
- ]
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement