Skip to content

Commit 5979ebe

Browse files
authored
Merge pull request #660 from HelixDesignSystem/tweak-getting-started-guide
docs(Getting Started): assets -> vendor
2 parents ebd5c9a + 445c122 commit 5979ebe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/guides/getting-started/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ <h2 id="copy-assets-into-app">2 - Copy Assets into App</h2>
7272
<figure>
7373
{% code 'bash' %}
7474
# Web Components Polyfill Loader
75-
cp node_modules/helix-ui/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js public/assets
75+
cp node_modules/helix-ui/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js public/vendor
7676

7777
# Web Components Polyfill Bundles (injected as needed by loader above)
78-
cp -R node_modules/helix-ui/node_modules/@webcomponents/webcomponentsjs/bundles public/assets
78+
cp -R node_modules/helix-ui/node_modules/@webcomponents/webcomponentsjs/bundles public/vendor
7979

8080
# production-ready, browser-compatible HelixUI JavaScript bundles
81-
cp node_modules/helix-ui/dist/js/*.min.js public/assets
81+
cp node_modules/helix-ui/dist/js/*.min.js public/vendor
8282

8383
# production-ready HelixUI Stylesheets
84-
cp node_modules/helix-ui/dist/css/*.min.css public/assets
84+
cp node_modules/helix-ui/dist/css/*.min.css public/vendor
8585
{% endcode %}
8686
</figure>
8787

@@ -93,7 +93,7 @@ <h2 id="copy-assets-into-app">2 - Copy Assets into App</h2>
9393
<figure>
9494
{% code 'bash' %}
9595
public/
96-
assets/
96+
vendor/
9797
│ ├ bundles/
9898
│ │ └ ...
9999
│ ├ helix-ui.min.css
@@ -158,7 +158,7 @@ <h3>3.2 - Load HelixUI Styles</h3>
158158

159159
<figure>
160160
{% code 'html' %}
161-
<link rel="stylesheet" href="assets/helix-ui.min.css" />
161+
<link rel="stylesheet" href="vendor/helix-ui.min.css" />
162162
{% endcode %}
163163
</figure>
164164

@@ -183,7 +183,7 @@ <h3>3.3 - Load Polyfills</h3>
183183

184184
<figure>
185185
{% code 'html' %}
186-
<script src="assets/webcomponents-loader.js"></script>
186+
<script src="vendor/webcomponents-loader.js"></script>
187187
{% endcode %}
188188
</figure>
189189

@@ -192,7 +192,7 @@ <h3>3.3 - Load Polyfills</h3>
192192
detection to identify the minimum polyfill bundle required by the
193193
current browser. If the browser requires polyfills, an additional
194194
<code>&lt;script&gt;</code> element (loading a polyfill bundle from
195-
<code>assets/bundles/</code>) will be injected after the loader.
195+
<code>vendor/bundles/</code>) will be injected after the loader.
196196
</p>
197197
</section>
198198

@@ -211,14 +211,14 @@ <h3>3.4 - Load HelixUI Scripts</h3>
211211
<figure>
212212
{% code 'html' %}
213213
<!-- Legacy Browsers (ES5 UMD Module) -->
214-
<script nomodule src="assets/helix-ui.min.js"></script>
214+
<script nomodule src="vendor/helix-ui.min.js"></script>
215215
<script nomodule>
216216
HelixUI.initialize();
217217
</script>
218218

219219
<!-- Modern Browsers (ES6 ES Module) -->
220220
<script type="module">
221-
import HelixUI from '/assets/helix-ui.module.min.js';
221+
import HelixUI from '/vendor/helix-ui.module.min.js';
222222

223223
HelixUI.initialize();
224224
</script>
@@ -256,10 +256,10 @@ <h2 id="verify">4 - Verify Configuration</h2>
256256
<html lang="en">
257257
<head>
258258
<!-- Step 3.2 -->
259-
<link rel="stylesheet" href="assets/helix-ui.min.css" />
259+
<link rel="stylesheet" href="vendor/helix-ui.min.css" />
260260

261261
<!-- Step 3.3 -->
262-
<script src="assets/webcomponents-loader.js"></script>
262+
<script src="vendor/webcomponents-loader.js"></script>
263263
<!-- additional <script> may appear here -->
264264
<!--/Step 3.3 -->
265265
</head>
@@ -273,14 +273,14 @@ <h1>Hello HelixUI!</h1>
273273

274274
<!-- Step 3.4 -->
275275
<!-- Legacy Browsers (ES5 UMD Module) -->
276-
<script nomodule src="assets/helix-ui.min.js"></script>
276+
<script nomodule src="vendor/helix-ui.min.js"></script>
277277
<script nomodule>
278278
HelixUI.initialize();
279279
</script>
280280

281281
<!-- Modern Browsers (ES6 ES Module) -->
282282
<script type="module">
283-
import HelixUI from '/assets/helix-ui.module.min.js';
283+
import HelixUI from '/vendor/helix-ui.module.min.js';
284284

285285
HelixUI.initialize();
286286
</script>

0 commit comments

Comments
 (0)