@microf/vue-host
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@microf/vue-host

A Vue.js plugin to create a micro-frontend application.

installation

npm i --save-dev @microf/vue-host

usage

import { createMicroFrontendHost } from '@microf/vue-host';
import { router } from './my-router-instance';

const microFrontendPlugin = await createMicroFrontendHost({
  router,
  apps: [
    { url: 'http://localhost:3334' },
    { url: 'http://localhost:3335' },
  ]
});

// don't forget:
app.use(microFrontendPlugin);

That's (sort of) it.

Package Sidebar

Install

npm i @microf/vue-host

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

8.91 kB

Total Files

12

Last publish

Collaborators

  • davidmeirlevy