We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fc4aa commit 8e6882fCopy full SHA for 8e6882f
guide/assets.md
@@ -14,7 +14,7 @@ import imgUrl from './img.png'
14
document.getElementById('hero-img').src = imgUrl
15
```
16
17
-例えば、 `imgUrl` は、開発中は `/img.png` となり、本番用ビルドでは `/assets/img.2d8efhg.png` となります。
+例えば、 `imgUrl` は、開発中は `/src/img.png` となり、本番用ビルドでは `/assets/img.2d8efhg.png` となります。
18
19
振る舞いは webpack の `file-loader` に似ています。異なるのは、絶対的なパブリックパス(開発中のプロジェクトのルートに基づく)または、相対パスを使用することができるという点です。
20
0 commit comments