This library serves as a Svelte alternative to the FCL React Quick Start App found on the official Flow developer documentation.
npm install
Then
npm run dev
note: depending on your CORS settings, localhost development may not work. Will experiment with SvelteKit and Vite to see if this fixes it.
(For publishing on external JAMSTACK providers use npm run build
, although most providers do this automatically)
You can checkout the live demo here: https://fcl-svelte-quickstart.pages.dev/
Svelte is awesome, and porting something to another framework forces you to learn (and appreciate) the differences and similarities.
Auth.svelte
component.env
variablesactions.js
stores.js
config.js