src/pages/index.astro
---
=
=
---
=>
import
const await
const
{ } ;
{ } . ( );
. ( . );
Using your CMS
With top-level await, Astro makes it easy
to fetch content from your CMS.
{ . (( ) (
={ . } { . }
))}
storyblokApi
get
values links
map
href slug name
from
storyblokApi
Object data
links link
link link
"../cms"
'cdn/links'
data
links
< > >
< >
>
< >
< >< > > >
>
h1 h1
p
p
ul
li a a li
ul