ghost-todo-svelte-webcomponent Svelte Themes

Ghost Todo Svelte Webcomponent

A web component made in Svelte

Demo web component made in Svelte

Installing

$ npm install ghost-todo-svelte-webcomponent

Import in javascript module using a bundler

import "ghost-todo-svelte-webcomponent";

Import in javascript module not using a bundler

import "./node_modules/ghost-todo-svelte-webcomponent/public/build/bundle.js";

Insert Web component in HTML

<ghost-todo-comp-sv inittodos="Todo item 1, Todo item 2"></ghost-todo-comp-sv>

Top categories

Loading Svelte Themes