Strategy
Global configuration:
or local configuration
inline
is a default option.
Options
inline
data-url
file
Note: this strategy requires to additional options:
add fsPath
(public/beoe
) to .gitignore
Note: if you deploy to Netlify, do not use path that starts with .
.
Pros and cons
inline | data-url | file | |
---|---|---|---|
Interactivity | yes | no | no |
Can be styled with CSS | yes | no | no |
CSS conflicts | probably yes | no | no |
<img alt="..." > | no | yes | yes |
DOM footprint | high | low | low |
HTML footprint | high | high | low |