The WC-Router aims to be a simple vanilla JS router based on web components
- Include the
WC-Router
- Include any number of pages as wec components
<html>
<head>
<script src="lib/wcr.js"></script>
<script src="pages/contact.js"></script>
</head>
<body>
<wc-router></wc-router>
</body>
</html>