Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 26, 2020 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/937b60cda0a0b17d564fa1c3060384b9 to your computer and use it in GitHub Desktop.
Save velotiotech/937b60cda0a0b17d564fa1c3060384b9 to your computer and use it in GitHub Desktop.
A Single Page MicroFrontend
!DOCTYPE html>
<html lang="zxx">
<head>
<title>The MicroFrontend - eCommerce Template</title>
</head>
<body>
<header class="header-section header-normal">
<!-- Header is repeated in each frontend which is difficult to maintain -->
....
....
</header
<main>
</main>
<footer
<!-- Footer is repeated in each frontend which means we have to multiple changes across all frontends-->
</footer>
<script>
<!-- Cross Cutting features like notification, authentication are all replicated in all frontends-->
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment