Skip to content

Instantly share code, notes, and snippets.

View AlexxNB's full-sized avatar
👨‍💻
Working hard

Alexey Schebelev AlexxNB

👨‍💻
Working hard
  • Independent Developer
View GitHub Profile
View Logo.md

Варианты логотипов для Svelte Russia

@AlexxNB
AlexxNB / widget.md
Last active November 17, 2023 12:29
Howto make no-depends widget on Svelte and load it on the page
View widget.md

We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':

  1. Our widget Widget.svelte:
<script>
	export let name;
</script>

<h1>Hello {name}!</h1>