Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 602 Bytes

File metadata and controls

14 lines (10 loc) · 602 Bytes

Vanilla JS demo

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:

  1. index.html - markup.
  2. src/main.ts - whole demo code.
  3. src/NamedIcon.ts - example icon component with dynamic name instead of imports.
  4. src/dev-tests.ts - development tests. Not important for the demo, but may provide additional information to you.
  5. vite.config.ts - Vite configuration for the demo.
  6. src/assets/ - SVG images used in the demo.