Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of tools for building web components with svelte (currently in alpha)

License

NotificationsYou must be signed in to change notification settings

svebcomponents/svebcomponents

Repository files navigation

What isSvebcomponents?

Building a one-off web component with Svelte is as easy as settingcustomElement: true in your Svelte config.

However, once you get into building a library of components boilerplate and configuration quickly add up and the developer experience is not as good as it could be.Svebcomponents is a collection of tools that aim to smoothen the rough edges of building web components with Svelte.

Packages

  • [@svebcomponents/build]
    • Provides thesvebcomponents CLI tool for building web components (based on tsdown ⚡).
    • By default, it offers a zero-configuration build experience.
    • For advanced configuration, create asvebcomponents.config.ts file in your project root and importdefineConfig from@svebcomponents/build to define a custom tsdown configuration.
  • [@svebcomponents/auto-options]
    • automatically generate type converter & attribute settings from your props leveraging the typescript AST
  • [@svebcomponents/ssr]
    • allows you to build SSR-able web components viaauto-options
    • render web components that provide anElementRenderer in SvelteKit (or other vite based SSR frameworks)

About

A collection of tools for building web components with svelte (currently in alpha)

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp