hy-push-state
Version:
Turn static web sites into dynamic web apps
21 lines (20 loc) • 622 B
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page 2 | hy-push-state</title>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@1.1.0"></script>
<link rel="import" href="https://unpkg.com/hy-push-state/dist/webcomponent/hy-push-state.html">
<!-- <link rel="import" href="../../dist/webcomponent/hy-push-state.dev.html"> -->
</head>
<body>
<hy-push-state prefetch>
<p>
<a href="./1.html">Page 1</a>
<span>Page 2</span>
<a href="./3.html">Page 3</a>
</p>
<p>Augue ut lectus</p>
</hy-push-state>
</body>
</html>