import { toSVG,toParser,toDxfGroups } from 'dxf-parse-ts';
const dxfPath = "http://example.com/intent.dxf"; const res = await axios.get(dxfPath); svgContainer.value = await toSVG(res.data);
<script lang="ts" setup> import { ref,onMounted } from 'vue'; const svgContainer = ref(null); svgContainer.value = await toSVG(res.data);; </script>