[MeshMap] Meshery Design Embedding: Create React Package and Publish NPM package #5175
Labels
framework/gatsby
Gatsby related
framework/react
React related
kind/enhancement
New feature or request
language/css
language/javascript
Issues or pull requests that use Javascript or React
project/kanvas
Current Behavior
MeshMap users can export and embed designs in web pages - https://docs.layer5.io/meshmap/designer/export-designs/#exporting-as-embedding
Desired Behavior
Enhance MeshMap's ability to export and embed designs into web pages by creating a React package that is friendly to frameworks like Gatsbyjs, Nextjs, as well as generic React.
We recently released a new feature in meshmap that allows the designs to be downloaded as a js file we can be used to embed the design into websites
this works fine with static html sites but for gatsby and other react based frameworks it is still possible to get it going by dynamically loading the script
but that is a bit of too much to ask users to do
so we are going to create a new react package that will be small component that will just do this dynamic loading of the script for us
this package will be then used by user to embed the designs
Implementation
Acceptance Tests
Mockups
See https://docs.layer5.io/meshmap/designer/export-designs/#exporting-as-embedding
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the
master
branch.Join the Layer5 Community by submitting your community member form.
The text was updated successfully, but these errors were encountered: