#Astro.props is an empty object

1 messages · Page 1 of 1 (latest)

fading copper
#

When using pnpm dev, the Astro.props seems to be empty.
Does anyone know why?

#

i expect it to have the page parameter but its not there 😦

#

i see that: Astro.url.pathname also works.
how can i import this into a vue component?

supple lantern
fading copper
#

thank you very much!

#

im completly new but Astro works very smooth!

#

@supple lantern 1 other question tho, does Astro support virtual routing (so not a hard a href but something like router-link) ?

supple lantern