Welcome to the vite-awesome-svg-loader
vanilla JS demo!
This demo showcases vite-awesome-svg-loader
capabilities and demonstrates how to use this plugin without any framework.
Important files and directories:
index.html
- markup.src/main.ts
- whole demo code.src/NamedIcon.ts
- example icon component with dynamic name instead of imports.src/dev-tests.ts
- development tests. Not important for the demo, but may provide additional information to you.vite.config.ts
- Vite configuration for the demo.src/assets/
- SVG images used in the demo.