UNPKG

hy-push-state

Version:

Turn static web sites into dynamic web apps

21 lines (20 loc) 618 B
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Page 1 | 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> <span>Page 1</span> <a href="./2.html">Page 2</a> <a href="./3.html">Page 3</a> </p> <p>Lorem ipsum</p> </hy-push-state> </body> </html>