wocsvg-viewer

SVG查看器,支持Pan、Zoom、Fit、坐标系转换、线条粗细根据要求缩放动态变化。适用于图纸显示

Usage no npm install needed!

<script type="module">
  import wocsvgViewer from 'https://cdn.skypack.dev/wocsvg-viewer';
</script>

README

svg-viewer

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.