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

0.1.1 • Public • Published

@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.

Package Sidebar

Install

npm i @microf/vue-child

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

6.08 kB

Total Files

9

Last publish

Collaborators

  • davidmeirlevy