This is an Astro project bootstrapped with create-astro
.
Note: This example folder is a standalone frontend, which is why it will still need Directus running to work, the CodeSandbox and StackBlitz links only pull the example folder as is, you will still need Directus running somewhere to make it work, such as a Cloud instance, or self hosted.
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 astro npm install
-
Create a
.env
file by copying the provided.env.example
file. -
Start the development server.
npm run dev
Your Directus Astro example is now running at http://localhost:3000.