Skip to content

Commit

Permalink
docs(guides): Correct a path error in getting started example (#1899)
Browse files Browse the repository at this point in the history
* correct a path error in example
  • Loading branch information
bingtimren authored and montogeek committed Mar 17, 2018
1 parent e1029fc commit 8b13724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/content/guides/asset-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ contributors:
- michael-ciniawsky
- TheDutchCoder
- sudarsangp
- chenxsan
---

If you've been following the guides from the start, you will now have a small project that shows "Hello webpack". Now let's try to incorporate some other assets, like images, to see how they can be handled.
Expand Down Expand Up @@ -325,7 +326,7 @@ __project__
|- /node_modules
```

With the loader configured and fonts in place, you can use incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:
With the loader configured and fonts in place, you can incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:

__src/style.css__

Expand Down
2 changes: 1 addition & 1 deletion src/content/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ __dist/index.html__
</head>
<body>
- <script src="./src/index.js"></script>
+ <script src="bundle.js"></script>
+ <script src="dist/bundle.js"></script>
</body>
</html>
```
Expand Down

0 comments on commit 8b13724

Please sign in to comment.