Learn how to integrate your Formbox form with Svelte.
svelte-with-formbox
directory asking you if you’d like to set up some basic tooling such as TypeScript. Once all questions are answered, it will begin scaffolding your project and provide instructions for navigating to your site and running it locally.
Go to the new directory for the new website:
http://localhost:5173
. You should see a new Svelte application running.
+page.svelte
file within the src/routes
directory and replace everything in the file with the following code block:
action
attribute as shown in the code block above.
Save the file and navigate to http://localhost:5173
in your browser. You should see a form that you can fill out and submit.