Skip to content

xyz-tools/gcode-preview-svelte

Repository files navigation

GCodePreview with Svelte + Vite

Running the example

cd svelte-demo
npm install
npm run dev

Svelte component

Using the example Svelte component is a simple as:

<script>
  import GCodePreview from './lib/GCodePreview.svelte';
</script>

<GCodePreview src={'benchy.gcode'} />

Releases

No releases published

Packages

No packages published

Languages