Skip to content
svar-widgetsPublic

About

Svelte component to add a comments section to your app.

Topics

Resources

Stars

12 stars

Watchers

2 watching

Forks

Repository files navigation

SVAR Svelte Comments

npm License npm downloads

A Svelte UI component for creating a comments section. Supports adding, editing, and deleting comments with ease.

SVAR Comments - Svelte Comments Section

How to Use

To use the widget, simply import the package and include the component in your Svelte file:

<script>
	import { Comments } from "@svar-ui/svelte-comments";

	const value = [];
</script>

<Comments {value} />

For further instructions, visit the documentation.

How to Modify

Typically, you don't need to modify the code. However, if you wish to do so, follow these steps:

  1. Install vite-plus (curl -fsSL https://vite.plus | bash on Mac/Linux, irm https://vite.plus/ps1 | iex on Windows). The project uses pnpm workspaces under the hood, so plain npm will not work.
  2. Run vp i from the project root to install dependencies.
  3. Run vp run build to build all packages.
  4. Start the demo app in development mode with vp run start.

About

Svelte component to add a comments section to your app.

Topics

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages