UNPKG

@unocss/svelte-scoped

Version:

Use UnoCSS in a modular fashion with styles being stored only in the Svelte component they are used in: Vite plugin for apps, Svelte preprocessor for component libraries

10 lines (5 loc) 448 B
# @unocss/svelte-scoped [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/fork/github/unocss/unocss/tree/main/examples/sveltekit-scoped) Place generated CSS for each Svelte component's utility styles directly into the component's `<style>` block instead of in a global CSS file. ## Documentation Please refer to the [documentation](https://unocss.dev/integrations/svelte-scoped).