Installation
Install
Section titled “Install”Terminal window npm install @dxdns/feflow-core @dxdns/feflow-svelteTerminal window pnpm add @dxdns/feflow-core @dxdns/feflow-svelteSetup provider
Section titled “Setup provider”Wrap your application with the
FeflowProvider
to enable all Feflow components. This should be done at the layout level to ensure global access.Recommended: Place this in
src/routes/+layout.svelte
(SvelteKit root layout)Directorysrc
Directoryroutes
- +layout.svelte
<script lang="ts">import { FeflowProvider } from "@dxdns/feflow-svelte"</script><FeflowProvider>{@render children()}</FeflowProvider>Enjoy!
Section titled “Enjoy!”<script lang="ts">import { Button } from "@dxdns/feflow-svelte"</script><Button>Click me</Button>