svelte-star-rating Svelte Themes

Svelte Star Rating

Svelte component for star rating

svelte-star-rating

/!\ This is a test package made with Svelte /!\ .

Svelte component for star rating.

To use this component :

  1. Clone & run 'npm i' inside the folder
  2. Still in this folder, run 'npm link'
  3. Open a terminal inside the folder of your Svelte project
  4. Run 'npm link /path/svelte-star-rating' replacing '/path' with the component's folder path on your machine.
  5. Just import the component from 'svelte-star-rating' in your project.

Source : https://dev.to/ernanej/how-to-develop-a-svelte-component-and-publish-it-as-a-package-in-npm-40pc

Top categories

Loading Svelte Themes