Advertisement
Guest User

Untitled

a guest
Apr 15th, 2025
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. import { defineRuntimeConfig } from '@modern-js/runtime';
  2.  
  3. export default defineRuntimeConfig({
  4. masterApp: {
  5. apps: [
  6. {
  7. name: 'Header',
  8. entry: 'http://localhost:8081',
  9. // activeWhen: '/',
  10. activeWhen: () => true,
  11. },
  12. {
  13. name: 'Table',
  14. entry: 'http://localhost:8082',
  15. activeWhen: '/table',
  16. },
  17. {
  18. name: 'Footer',
  19. entry: 'http://localhost:8083',
  20. // activeWhen: '/',
  21. activeWhen: () => true,
  22. },
  23. ]
  24. },
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement