@jill64/svelte-html

npm-version npm-license npm-download-month npm-min-size ci.yml website

🏷️ Declarative attribute binding for the root html element

▷ Installation

Open the Dev Tool and check that the html tag attributes have changed.

svelte
<script>
  import { SvelteHTML } from '@jill64/svelte-html'
</script>

<SvelteHTML lang="en" prefix="og: http://ogp.me/ns#" />
html
<!DOCTYPE html>

<html lang="en" prefix="og: http://ogp.me/ns#">
    <!-- ... -->
</html>
= =