1.0.1 • Published 5 years ago
@vouchpanel/svelte v1.0.1
@vouchpanel/svelte
Quickly embed a vouchpanel into your svelte project.
How To Use
Install with yarn (or npm install):
yarn add @vouchpanel/svelteInclude 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.