lucid-router
Version:
a simple html5-history aware router
24 lines (23 loc) • 878 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>lucid-router react</title>
<style>
* {margin: 0; padding: 0; box-sizing: border-box;}
body {font-family: 'Helvetica Neue', Helvetica, sans-serif; color: #555;}
a {cursor: pointer;color: rgb(41, 174, 204);}
pre {font-family: "Source Code Pro", Monaco, "Courier New";}
header {height: 60px; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2); background-color: rgb(41, 174, 204);}
nav, section {max-width: 600px; margin: 0 auto; padding: 20px;}
nav {display: flex; justify-content: space-between; height: 100%;}
nav a {font-weight: 500; color: #eee;}
ul {list-style: none;}
li {line-height: 20px;}
</style>
<script defer src="/jspm_packages/system.js"></script>
<script defer src="/config.js" onload="System.import('app.js')"></script>
</head>
<body>
</body>
</html>