Skip to content

Commit dfb60e0

Browse files
tomwang1013yyx990803
authored andcommitted
docs: update asset-url.md (#1174)
1 parent dddd911 commit dfb60e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/configurations/asset-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ createElement('img', { attrs: { src: require('../image.png') }})
2323
- If the URL starts with `~`, anything after it is interpreted as a module request. This means you can even reference assets inside node modules:
2424

2525
``` html
26-
<img src="~/some-npm-package/foo.png">
26+
<img src="~some-npm-package/foo.png">
2727
```
2828

2929
- (13.7.0+) If the URL starts with `@`, it's also interpreted as a module request. This is useful if your webpack config has an alias for `@`, which by default points to `/src` in any project created by `vue-cli`.

0 commit comments

Comments
 (0)