0.1.3 • Published 2 years ago

listavelte v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

List-a-Svelte Task List Tracker

The ultimate Task List?

  • Add new todos
  • Mark High priorities
  • Mark complete
  • Delete todos

Use

If you're seeing this, you've probably already done this step. Congrats!

# install the component
npm install github:douganderson444/listavelte

NPM:

# install the component from npm
npm install @douganderson444/listavelte

See src/routes/index.svelte for Demo usage:

<script>
	import { TaskList } from '@douganderson444/listavelte';
	let uid = 1;

	let todos = [
		{ id: uid++, done: false, high: true, description: 'install the component' },
		{ id: uid++, done: false, high: false, description: 'pass in some todos' },
	];
</script>

<TaskList {todos} />

Developing

Issues, pull requests, and forks are welcome

Building

As of this writing, Sveltekit doesn't build and bundle components alone. So a Rollupjs file is needed to do this separately after package is complete.

Tailwindcss is incorporated into this step using postcss in rollup.config.bundle.js.

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago