fix(v2): pass images in static dir to webpack-loader (#3283)

* pass static images to webpack-loader

* remove console.log

* fix windows path issue

* fix windows path issue

* add missing deps
This commit is contained in:
Anshul Goyal 2020-08-15 01:03:08 +05:30 committed by GitHub
parent eb4aa19bef
commit 12e9ff6232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 47 additions and 26 deletions

View file

@ -25,8 +25,14 @@ function Button() {
}
```
### Using relative path
![](../../../static/img/docusaurus.png)
### Using absolute path
![](/img/docusaurus.png)
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';