mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-19 20:17:06 +02:00
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:
parent
eb4aa19bef
commit
12e9ff6232
6 changed files with 47 additions and 26 deletions
|
@ -25,8 +25,14 @@ function Button() {
|
|||
}
|
||||
```
|
||||
|
||||
### Using relative path
|
||||
|
||||

|
||||
|
||||
### Using absolute path
|
||||
|
||||

|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue