0.1.1 • Published 3 years ago

@microf/vue-child v0.1.1

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

@microf/vue-child

A Vue.js plugin to declare your application as a micro-frontend for another application

For the host application use the package @microf/vue-host

installation

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

usage

import { createMicroFrontendChild } from '@microf/vue-child';
import { router } from './my-router-instance';

const microFrontendPlugin = await createMicroFrontendChild({
  router
});

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

That's (sort of) it.