1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/preview/vercel.json
2025-09-23 22:28:41 +02:00

66 lines
2.1 KiB
JSON

{
"rewrites": [
{
"source": "/stats/js/script.js",
"destination": "https://plausible.io/js/script.js"
},
{
"source": "/stats/event",
"destination": "https://plausible.io/api/event"
},
{
"source": "/eat/static/:path(.*)",
"destination": "https://eu-assets.i.posthog.com/static/:path*"
},
{
"source": "/eat/:path(.*)",
"destination": "https://eu.i.posthog.com/:path*"
},
{
"source": "/(.*)",
"destination": "/error-404.html"
}
],
"redirects": [
{
"source": "/docs",
"destination": "https://tabler.io/docs",
"permanent": true
},
{
"source": "/docs/:name(colors|typography?).html",
"destination": "https://tabler.io/docs/base/:name",
"permanent": true
},
{
"source": "/docs/:name(alerts|autosize|avatars|badges|breadcrumb|buttons|cards|carousel|charts|countup|datagrid|divider|dropdowns|dropzone|empty|icons|inline-player|modals|placeholder|popover|progress|progressbg|range-slider|ribbons|spinners|statuses|steps|switch-icon|tables|tabs|timelines|tinymce|toasts|tooltips|tracking?).html",
"destination": "https://tabler.io/docs/components/:name",
"permanent": true
},
{
"source": "/docs/:name(form-color-check|form-elements|form-fieldset|form-helpers|form-image-check|form-input-mask|form-selectboxes|form-validation?).html",
"destination": "https://tabler.io/docs/forms/:name",
"permanent": true
},
{
"source": "/docs/:name(browser-support|customize|download|faq?).html",
"destination": "https://tabler.io/docs/getting-started/:name",
"permanent": true
},
{
"source": "/docs/:name(page-headers?).html",
"destination": "https://tabler.io/docs/layout/:name",
"permanent": true
},
{
"source": "/docs/:name(flags|payments?).html",
"destination": "https://tabler.io/docs/plugins/:name",
"permanent": true
},
{
"source": "/docs/:name(borders|cursors|interactions?).html",
"destination": "https://tabler.io/docs/plugins/:name",
"permanent": true
}
]
}