Open NamesMT opened 2 months ago
Router's routes is now able to take an object for finer control/complex usage
Router
routes
Types:
Use example:
Update 04/05: more advanced use example Assets is my custom component to build a static frontend app into a bucket.
Assets
Tested locally, working dev, HMR, deploy Tested to be backward-compatible
The committed PR contains a commentted bit, feel free to remove it.
Interesting, let me ask Frank to take a look
Router
'sroutes
is now able to take an object for finer control/complex usageTypes:
![image](https://github.com/sst/ion/assets/23612546/fbf962fd-5d57-4a1c-bf4e-99052ce28091)
Use example:![image](https://github.com/sst/ion/assets/23612546/d6cf228a-a21a-42a2-9d1e-bafd422ae2dd)
Update 04/05: more advanced use example![image](https://github.com/sst/ion/assets/23612546/5de98f0c-89a5-4660-848c-3a1c68425f82)
Assets
is my custom component to build a static frontend app into a bucket.Tested locally, working dev, HMR, deploy Tested to be backward-compatible
The committed PR contains a commentted bit, feel free to remove it.