vue-slim-tabs
vue-slim-tabs copied to clipboard
feat: allow tab to be selected by URL's query param
Hello,
I add the feature to allow tab to be select a tab by a query parameter at the mount of the component.
- When you click on a tab, the tab is written on the url.
- When you mount the component, if a query param
tab=foo
is present, the tabfoo
will be automatically selected.
Tell me if you have any feedback. Thank you for your work and have a nice day!
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/egoist/vue-slim-tabs/Gnr4xR1iDq8EUhoB7m7JC6NYg6JA
✅ Preview: https://vue-slim-tabs-git-fork-tchoupinax-master-egoist.vercel.app