|
4 | 4 | <title>Horizontal - App Title</title> |
5 | 5 | <meta charset="utf-8" /> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | | - <link rel="shortcut icon" href="images/favicon.png" /> |
| 7 | + <link rel="shortcut icon" href="%ASSET_PATH%/images/favicon.png" /> |
| 8 | + |
| 9 | + <link rel="stylesheet" href="%ASSET_PATH%/helix-ui.min.css" /> |
8 | 10 |
|
9 | | - <!-- DO NOT BUNDLE: HelixUI Styles --> |
10 | | - <link rel="stylesheet" href="path/to/helix-ui/dist/styles/helix-ui.min.css" /> |
11 | | - <!-- DO NOT COMPILE: Converts ES5 custom element constructor functions to ES6 classes --> |
12 | | - <script src="path/to/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script> |
13 | 11 | <!-- DO NOT COMPILE: Appends polyfills to <head> if needed by user's browser. --> |
14 | | - <script src="path/to/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script> |
| 12 | + <script src="%ASSET_PATH%/webcomponents-loader.js"></script> |
15 | 13 | </head> |
16 | 14 | <body class="hxHorizontal" id="top"> |
17 | 15 | <!-- Accessibility: This link should be the first item in tab order. --> |
@@ -69,18 +67,27 @@ <h2>Secondary Panel</h2> |
69 | 67 | </div> |
70 | 68 |
|
71 | 69 | <footer id="foot"> |
72 | | - © 2018 Rackspace US, Inc. |
| 70 | + © 2017-2019 Rackspace US, Inc. |
73 | 71 | <nav> |
74 | 72 | <a href="https://www.rackspace.com/information/legal/websiteterms">Website Terms</a> |
75 | 73 | <a href="https://www.rackspace.com/information/legal/privacystatement">Privacy Policy</a> |
76 | 74 | </nav> |
77 | 75 | </footer> |
78 | 76 |
|
79 | | - <!-- |
80 | | - DO NOT BUNDLE: ES5-compiled assets specifically for use in the browser. |
81 | | - Provides additional polyfills and automatically initializes HelixUI. |
82 | | - --> |
83 | | - <script src="path/to/helix-ui/scripts/helix-ui.browser.min.js"></script> |
| 77 | + <!-- UMD for Legacy Browsers (ES5) --> |
| 78 | + <script nomodule src="%ASSET_PATH%/helix-ui.min.js"></script> |
| 79 | + <script nomodule> |
| 80 | + HelixUI.initialize(); |
| 81 | + </script> |
| 82 | + |
| 83 | + <!-- ESM for Modern Browsers (ES6+) --> |
| 84 | + <script type="module"> |
| 85 | + import HelixUI from '/%ASSET_PATH%/helix-ui.module.min.js'; |
| 86 | + |
| 87 | + HelixUI.initialize(); |
| 88 | + </script> |
| 89 | + |
| 90 | + <!-- App Scripts Go Here --> |
84 | 91 |
|
85 | 92 | <a id="bottom"></a> |
86 | 93 | </body> |
|
0 commit comments