Merge remote-tracking branch 'upstream/main'

This commit is contained in:
2026-08-26 09:31:34 +08:00
parent 9b8c4bfab6
commit 394eb0285d
34137 changed files with 3589424 additions and 0 deletions
@@ -0,0 +1,29 @@
# Default browser runtime example
In browser sprite is rendered and injected in page automatically, you just refer to images via `<svg><use xlink:href="#id"></use></svg>`.
### [Demo](demo.html)
Input
```js
import twitterIcon from '../assets/twitter.svg';
```
Reference in HTML
```html
<svg>
<use xlink:href="#twitter"></use>
</svg>
```
### Input
- [main.js](main.js)
- [demo.html](demo.html)
- [webpack.config.js](webpack.config.js)
### Output
- [build/main.js](build/main.js)