kitbagjs / router

A type safe router for vuejs
MIT License
131 stars 1 forks source link

New `component` utility for binding props and attrs #164

Closed pleek91 closed 1 month ago

pleek91 commented 1 month ago

Description

Adds a new utility to be used when creating routes that allows you to bind props or attributes. The first arg is the component to mount and the second is a callback which must return the props/attributes to bind to the component. This callback can be async.

I'd like to see if we can pass params to the props callback. But I'll explore that in a follow up.

netlify[bot] commented 1 month ago

Deploy Preview for kitbag-router ready!

Name Link
Latest commit 31a39a4249e8a686964634ac4c4dfd6e050ead0e
Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/663ebbff20fd390008d0b402
Deploy Preview https://deploy-preview-164--kitbag-router.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.