Socket
Socket
Sign inDemoInstall

@luigi-project/container

Package Overview
Dependencies
0
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @luigi-project/container

Javascript library enabling creation of microfrontends


Version published
Weekly downloads
42
decreased by-61.82%
Maintainers
2
Install size
216 kB
Created
Weekly downloads
 

Changelog

Source

v1.1.0

:boom: Breaking Change
  • #1267 Following an upgrade to Fundamental Library Styles version 0.8.1, there were changes in the HTML structure. Some classes were renamed or removed completely. You can find the full list of Fundamental Library Styles changes here. (@marynaKhromova)
:rocket: Added
  • #1283 Translate tooltip text in semi collapsed mode and add title attributes to entries in left nav (@zarkosimic)
  • #1269 Oidc provider uses storage type also for oidc client configuration (@maxmarkus)
  • #1241 Update fundamental styles to 0.8.1 (@UlianaMunich)
:bug: Fixed

Readme

Source

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.

Keywords

FAQs

Last updated on 02 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc