1.1.0 • Published 28 days ago

@luigi-project/container v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
28 days ago

Luigi Container

Overview

Luigi Container is a web component that can be included in an arbitrary application, in order to render a Luigi micro frontend (iframe or web component based) without the need of being a Luigi Core application.

Usage

  1. Install the container package: @luigi-project/container
npm install @luigi-project/container
  1. Import it into your project:
import '@luigi-project/container';
  1. You can now use the Luigi container as follows anywhere in your application:
    <luigi-container 
        viewURL="https://www.example-microfronted.com" 
        webcomponent="false" 
        label="my label"
        context='{"label": "Calendar"}'>
    </luigi-container>
  1. In a similar way you can use the Luigi compound container as follows:
    <luigi-compound-container 
        context='{"label": "Dashboard"}'
        compoundConfig = { your config here }
    </luigi-compound-container>

Development

Build the bundle and start an example app:

npm install
npm run build
npm start

Check ./test-app/index.html for how it is used.

1.2.0-rc3

28 days ago

1.2.0-rc2

1 month ago

1.2.0-rc1

3 months ago

1.1.0

3 months ago

1.0.0-rc6

9 months ago

1.0.0

6 months ago

1.0.0-rc7

8 months ago

1.0.0-rc8

7 months ago

1.0.0-rc5

1 year ago

1.0.0-rc4

1 year ago

1.0.0-rc1

1 year ago

1.0.0-rc2

1 year ago

1.0.0-rc3

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.9.1

1 year ago

0.0.5

2 years ago

0.0.7

1 year ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago