1.0.1 • Published 3 years ago

@vouchpanel/svelte v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@vouchpanel/svelte

Package Version

Dependencies Status Dev Dependencies Status Commitizen Friendly

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.