This is a Svelte 3 project bootstrapped with create-vite
's Svelte template preset.
You will need to have the provided Directus project running first before proceeding with this example.
-
Clone this repo.
-
Install dependencies for this example.
cd svelte npm install
-
Create a
.env
file by copying the provided.env.example
file. -
Start the development server.
npm run dev
Your Directus Svelte example is now running at http://localhost:3000.