Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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