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

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

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

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

  1. Our widget Widget.svelte:
	export let name;

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