Skip to content

yp910108/vite-plugin-svg-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-svg-components

NPM version

Transform svg to component.

Install

npm i -D vite-plugin-svg-components

Configuration

// vite.config.ts
import SvgComponents from 'vite-plugin-svg-components'

export default defineConfig({
  plugins: [
    SvgComponents({
      /* options */
    })
  ]
})

License

MIT License © 2023-PRESENT yp910108

About

Transform svg to component.

Resources

License

Stars

Watchers

Forks

Packages

No packages published