vite-plugin-psvg
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

PSVG Vite Plugin

PSVG - Programmable SVG for Vite

Install

Install

npm i vite-plugin-psvg -D # yarn add vite-plugin-psvg -D

Add it to vite.config.js

// vite.config.js
import PSVG from 'vite-plugin-psvg'

export default {
  plugins: [
    PSVG()
  ],
}

Then use it as normal SVGs or images.

<img src='./hello.psvg'>

Example

See the /example.

License

MIT License © 2020 Anthony Fu

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-psvg

Weekly Downloads

5

Version

0.3.0

License

MIT

Unpacked Size

10.4 kB

Total Files

7

Last publish

Collaborators

  • antfu