adobe-webplatform / Snap.svg

The JavaScript library for modern SVG graphics.
http://snapsvg.io
Apache License 2.0
13.95k stars 1.15k forks source link

how can i config in vite project #668

Open Candy-u opened 2 years ago

Candy-u commented 2 years ago

how can i config in vite project

Phero49 commented 1 year ago

did you figure it out am also stuck

Candy-u commented 1 year ago

npm install snapsvg-cjs and import 'snapsvg-cjs'

This is what I did