kitbagjs / router

A type safe router for vuejs
https://router.kitbag.dev
MIT License
173 stars 4 forks source link

New router "base" option #248

Closed stackoverfloweth closed 1 month ago

stackoverfloweth commented 1 month ago

closes #245

With this change, developers can assign a "base" when creating a router

const router = createRouter(routes, {
  base: '/foo',
})

This will have the same effect of creating a root non-named route with the path /foo. All routes will have their paths prefixed with "/foo".

netlify[bot] commented 1 month ago

Deploy Preview for kitbag-router ready!

Name Link
Latest commit dd69321eba1055d429996e2423c7248902d27980
Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/66c7e2512f3ec5000893b20a
Deploy Preview https://deploy-preview-248--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.