@vouchpanel/svelte
v1.0.1
Published
A Svelte component library template for vouchpanel
Downloads
2
Maintainers
Readme
@vouchpanel/svelte
Quickly embed a vouchpanel into your svelte project.
How To Use
Install with yarn (or npm install
):
yarn add @vouchpanel/svelte
Include it as a module. Replace id
with your wall id from app.vouchpanel.com.
// Component.svelte
<script>
import Wall from '@vouchpanel/svelte/dist/index'
</script>
<Wall id="4" darkMode="off"></Wall>
If you are using typescript
, you can import the typed component instead: import Wall from @vouchpanel/svelte
.