All Projects → plastic-bag → plastic-bag

plastic-bag / plastic-bag

Licence: MIT license
An open source library to work with micro frontends.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to plastic-bag

micro-frontends-demo
Demo of a micro frontend approach with Web Components. From CodeOne 2019 presentation: Micro Front Ends: Breaking Up the Front-End Monolith
Stars: ✭ 24 (+9.09%)
Mutual labels:  webcomponents, microfrontends
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+213.64%)
Mutual labels:  webcomponents, microfrontends
paper-chip
A chip web component made with Polymer 2 following Material Design guidelines
Stars: ✭ 30 (+36.36%)
Mutual labels:  webcomponents
create-evergreen-app
Get up and running with an evergreen web application development stack designed by, and for, today's modern web.
Stars: ✭ 16 (-27.27%)
Mutual labels:  webcomponents
stenciljs-in-react
Stenciljs components in React: step by step guide
Stars: ✭ 22 (+0%)
Mutual labels:  webcomponents
mapbox-gl
Polymer 2.0 custom element for mapbox-gl-js. Uses WebGL to render interactive maps from vector tiles and Mapbox styles - compatible with deck-gl.
Stars: ✭ 24 (+9.09%)
Mutual labels:  webcomponents
nightingale
Data visualisation web components for the life sciences.
Stars: ✭ 95 (+331.82%)
Mutual labels:  webcomponents
merkur
tiny extensible javascript library for front-end microservices
Stars: ✭ 45 (+104.55%)
Mutual labels:  microfrontends
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-31.82%)
Mutual labels:  webcomponents
Grow-IoT
Software packages for smart growing environments.
Stars: ✭ 24 (+9.09%)
Mutual labels:  webcomponents
app-starter
Angular mono-repo (Ionic/Capacitor/StencilJS/Web Component) app starter for supporting cross platform apps.
Stars: ✭ 75 (+240.91%)
Mutual labels:  webcomponents
ui5con-app-vue
The Smart Store app is a Vue.js sample application, demonstrating the usage of the UI5 Web Components. You can find a step by step tutorial below on how to build the app by yourself. You don't have to clone the repo, the app will be built from scratch.
Stars: ✭ 31 (+40.91%)
Mutual labels:  webcomponents
vscode-exts
Visual Studio Code Extensions
Stars: ✭ 33 (+50%)
Mutual labels:  webcomponents
crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (+0%)
Mutual labels:  webcomponents
web-photo-filter
A Web Component to apply Instagram-like WebGL filters to photos
Stars: ✭ 105 (+377.27%)
Mutual labels:  webcomponents
modulor-html
Missing template engine for Web Components
Stars: ✭ 36 (+63.64%)
Mutual labels:  webcomponents
material-webcomponents
Material Design implemented in Web Components (Custom Elements v1)
Stars: ✭ 110 (+400%)
Mutual labels:  webcomponents
notification-service-js
🚦Notification Service based on Custom Elements
Stars: ✭ 16 (-27.27%)
Mutual labels:  webcomponents
symbiote.js
Simple, light and very powerful library to create embedded components for any purpose, with a data flow management included.
Stars: ✭ 40 (+81.82%)
Mutual labels:  webcomponents
event-driven-web-components-realworld-example-app
Exemplary real world application built with Vanilla JS Web Components in an Event Driven Architecture
Stars: ✭ 55 (+150%)
Mutual labels:  webcomponents

Plastic Bag

npm version Build Status Known Vulnerabilities BCH compliance

Plastic Bag is a Custom Element that uses different strategies to load Frontend applications/components.

Installation

Package

npm install plastic-bag

Registering the Custom Element plastic-bag:

import 'plastic-bag';
// or
require('plastic-bag');

CDN

<script src="https://unpkg.com/plastic-bag/dist/index.js" />

Examples

<plastic-bag type="script" src="/app.js">
    <div id="app-example">Loading...</div>
</plastic-bag>
<plastic-bag type="html-fragment" src="/header.html">
</plastic-bag>

Options

src

URI of the resource that will be loaded.

type

Each type uses a different strategy to load the application source. Default value: "script".

  • "script": fetchs and execute src.
  • "iframe": uses iframe to display src.
  • "html-fragment": fetchs src, puts its content inside plastic-bag and executes script tags if present.

Content

The content will be displayed as soon the tag is attatched.

Compatibility

We are working on browser compatibility tests with BrowserStack.

BrowserSatck Logo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].