|
| 1 | +--- |
| 2 | +title: Getting Started with HelixUI |
| 3 | +--- |
| 4 | +{% extends 'guide.njk' %} |
| 5 | +{% block content %} |
| 6 | + <section> |
| 7 | + <p> |
| 8 | + This guide is intented to help developers initialize a Helix application. |
| 9 | + </p> |
| 10 | + </section> |
| 11 | + |
| 12 | + <section><!-- Install from NPM --> |
| 13 | + <h2 class="hxSectionTitle" id="install">Step 1: Install HelixUI via npm or Yarn</h2> |
| 14 | + <p> |
| 15 | + HelixUI is registered as a package on <a href="https://www.npmjs.com/">npm</a>. |
| 16 | + You can install the latest version with the npm CLI command: |
| 17 | + </p> |
| 18 | + {% code "bash" %} |
| 19 | + npm install --save-dev helix-ui |
| 20 | + {% endcode %} |
| 21 | + |
| 22 | + <p> |
| 23 | + Alternatively, you can use the <a href="https://yarnpkg.com">Yarn</a> |
| 24 | + CLI command: |
| 25 | + </p> |
| 26 | + {% code "bash" %} |
| 27 | + yarn add helix-ui |
| 28 | + {% endcode %} |
| 29 | + |
| 30 | + <p> |
| 31 | + Both approaches install HelixUI in the <code>node_modules/</code> directory. |
| 32 | + </p> |
| 33 | + </section> |
| 34 | + |
| 35 | + <section><!-- Choose a Layout --> |
| 36 | + <h2 class="hxSectionTitle" id="choose-layout">Step 2: Choose a Layout</h2> |
| 37 | + <p> |
| 38 | + Building a Helix application begins with choosing a layout. |
| 39 | + HelixUI provides two supported layouts from which you can choose. |
| 40 | + </p> |
| 41 | + <ol> |
| 42 | + <li> |
| 43 | + <a href="components/layouts/#vertical-layout">Vertical Layout</a> |
| 44 | + <ul> |
| 45 | + <li>Lengthy content pushes the footer below the fold.</li> |
| 46 | + </ul> |
| 47 | + </li> |
| 48 | + <li> |
| 49 | + <a href="components/layouts/#horizontal-layout">Horizontal Layout</a> |
| 50 | + <ul> |
| 51 | + <li>The footer is always visible.</li> |
| 52 | + </ul> |
| 53 | + </li> |
| 54 | + </ol> |
| 55 | + </section> |
| 56 | + |
| 57 | + <section><!-- Create Content --> |
| 58 | + <h2 class="hxSectionTitle" id="add-content">Step 3: Add Content</h2> |
| 59 | + <p> |
| 60 | + Add content and interactivity to your application using components. |
| 61 | + Components contain interactive demos and information for various |
| 62 | + interaction patterns. |
| 63 | + </p> |
| 64 | + <ol> |
| 65 | + <li>Choose a component from the navigation on the left.</li> |
| 66 | + <li>Check the "See Also" section on the component page for more information.</li> |
| 67 | + </ol> |
| 68 | + </section> |
| 69 | +{% endblock %} |
0 commit comments