sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.11k stars 131 forks source link

feat(aws/router): allow more complex routing #340

Open NamesMT opened 2 months ago

NamesMT commented 2 months ago

Router's routes is now able to take an object for finer control/complex usage

Types: image image

Use example: image

Update 04/05: more advanced use example Assets is my custom component to build a static frontend app into a bucket. image

Tested locally, working dev, HMR, deploy Tested to be backward-compatible

The committed PR contains a commentted bit, feel free to remove it.

jayair commented 2 months ago

Interesting, let me ask Frank to take a look