Menu
Libraries |
Category

svelte-component-template

  • A highly-opinionated template for building shareable Svelte 3 components
  • Designed for developers creating reusable Svelte component libraries
  • Includes essential tooling and workflows for component development:
    • Preprocessing via svelte-preprocess [fa-solid fa-up-right-from-square]
    • Code formatting with Prettier plugin [fa-solid fa-up-right-from-square]
    • Linting via eslint-plugin-svelte3 [fa-solid fa-up-right-from-square]
    • Component documentation and testing with Storybook [fa-solid fa-up-right-from-square]
    • Testing capabilities including interaction testing with Cypress and snapshot testing with Chromatic

Key features:

  • Built-in support for SvelteKit development environment
  • Pre-configured component export system via index.js
  • Includes sample workflows for publishing to npm
  • Provides guidance on common development patterns like including third-party CSS

Target audience:

  • Developers building reusable component libraries in Svelte
  • Teams creating shared UI component systems
  • Open source maintainers publishing Svelte components

sveltecomponentstemplatelibraryci

Comments