diff --git a/README.md b/README.md
index c872e733..f8a5aef6 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ Follow the docs to [Set up your local development environment](https://ui.nuxt.c
## License
-Licensed under the [MIT license](https://github.com/nuxt/ui/blob/dev/LICENSE.md).
+Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v2/LICENSE.md).
[npm-version-src]: https://img.shields.io/npm/v/@nuxt/ui/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
diff --git a/docs/components/Header.vue b/docs/components/Header.vue
index d8f38fa7..d3006a24 100644
--- a/docs/components/Header.vue
+++ b/docs/components/Header.vue
@@ -50,7 +50,7 @@
`](https://nuxt.com/docs/api/
- `inactive-class` prop to set a class when the link is inactive, `active-class` is used when active.
- `exact` prop to style with `active-class` when the link is active and the route is exactly the same as the current route.
- `exact-query` and `exact-hash` props to style with `active-class` when the link is active and the query or hash is exactly the same as the current query or hash.
- - use `exact-query="partial"` to style with `active-class` when the link is active and the query partially match the current query.
+ - use `exact-query="partial"` to style with `active-class` when the link is active and the query partially match the current query.
The incentive behind this is to provide the same API as NuxtLink back in Nuxt 2 / Vue 2. You can read more about it in the Vue Router [migration from Vue 2](https://router.vuejs.org/guide/migration/#removal-of-the-exact-prop-in-router-link) guide.
diff --git a/docs/content/2.components/meter.md b/docs/content/2.components/meter.md
index 2a9dcc8c..a2bbb799 100644
--- a/docs/content/2.components/meter.md
+++ b/docs/content/2.components/meter.md
@@ -4,7 +4,7 @@ description: Display a gauge meter that fills or depletes.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/elements/Meter.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/elements/Meter.vue
---
## Usage
diff --git a/docs/content/2.components/modal.md b/docs/content/2.components/modal.md
index c80e2371..542ed19f 100644
--- a/docs/content/2.components/modal.md
+++ b/docs/content/2.components/modal.md
@@ -6,7 +6,7 @@ links:
to: 'https://headlessui.com/v1/vue/dialog'
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Modal.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/overlays/Modal.vue
---
## Usage
diff --git a/docs/content/2.components/notification.md b/docs/content/2.components/notification.md
index e7569967..0909a984 100644
--- a/docs/content/2.components/notification.md
+++ b/docs/content/2.components/notification.md
@@ -3,7 +3,7 @@ description: Display a toast notification in your app.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Notification.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/overlays/Notification.vue
---
## Usage
diff --git a/docs/content/2.components/pagination.md b/docs/content/2.components/pagination.md
index 4860f734..26b3a765 100644
--- a/docs/content/2.components/pagination.md
+++ b/docs/content/2.components/pagination.md
@@ -3,7 +3,7 @@ description: Add a pagination to handle pages.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/Pagination.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/navigation/Pagination.vue
---
## Usage
diff --git a/docs/content/2.components/popover.md b/docs/content/2.components/popover.md
index 7fed4589..82c08804 100644
--- a/docs/content/2.components/popover.md
+++ b/docs/content/2.components/popover.md
@@ -6,7 +6,7 @@ links:
to: 'https://headlessui.com/v1/vue/popover'
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Popover.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/overlays/Popover.vue
---
## Usage
diff --git a/docs/content/2.components/progress.md b/docs/content/2.components/progress.md
index a33ba7cb..78a27b9c 100644
--- a/docs/content/2.components/progress.md
+++ b/docs/content/2.components/progress.md
@@ -4,7 +4,7 @@ description: Show a horizontal bar to indicate task progression.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/elements/Progress.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/elements/Progress.vue
---
## Usage
diff --git a/docs/content/2.components/radio-group.md b/docs/content/2.components/radio-group.md
index 2accb975..bbeb17f8 100644
--- a/docs/content/2.components/radio-group.md
+++ b/docs/content/2.components/radio-group.md
@@ -4,7 +4,7 @@ description: Display a set of radio buttons.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/RadioGroup.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/RadioGroup.vue
---
## Usage
diff --git a/docs/content/2.components/range.md b/docs/content/2.components/range.md
index c7b59ae3..0720d700 100644
--- a/docs/content/2.components/range.md
+++ b/docs/content/2.components/range.md
@@ -3,7 +3,7 @@ description: Display a range field
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/Range.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/Range.vue
---
## Usage
diff --git a/docs/content/2.components/select-menu.md b/docs/content/2.components/select-menu.md
index bb28993a..120e0514 100644
--- a/docs/content/2.components/select-menu.md
+++ b/docs/content/2.components/select-menu.md
@@ -7,7 +7,7 @@ links:
to: 'https://headlessui.com/v1/vue/listbox'
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/SelectMenu.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/SelectMenu.vue
---
## Usage
diff --git a/docs/content/2.components/select.md b/docs/content/2.components/select.md
index e64bbf0e..53900779 100644
--- a/docs/content/2.components/select.md
+++ b/docs/content/2.components/select.md
@@ -3,7 +3,7 @@ description: Display a select field.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/Select.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/Select.vue
---
## Usage
diff --git a/docs/content/2.components/skeleton.md b/docs/content/2.components/skeleton.md
index fa6d5fcf..26cf79f6 100644
--- a/docs/content/2.components/skeleton.md
+++ b/docs/content/2.components/skeleton.md
@@ -3,7 +3,7 @@ description: Display a placeholder while content is loading.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/layout/Skeleton.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/layout/Skeleton.vue
---
## Usage
diff --git a/docs/content/2.components/slideover.md b/docs/content/2.components/slideover.md
index e25f7f89..a2b14558 100644
--- a/docs/content/2.components/slideover.md
+++ b/docs/content/2.components/slideover.md
@@ -6,7 +6,7 @@ links:
to: 'https://headlessui.com/v1/vue/dialog'
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Slideover.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/overlays/Slideover.vue
---
## Usage
diff --git a/docs/content/2.components/table.md b/docs/content/2.components/table.md
index 9332dd11..20fe5fc9 100644
--- a/docs/content/2.components/table.md
+++ b/docs/content/2.components/table.md
@@ -3,7 +3,7 @@ description: 'Display data in a table.'
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/data/Table.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/data/Table.vue
---
## Usage
@@ -311,9 +311,9 @@ const onUpdateSelection = (selectedRows: any[]) => {
-
@@ -598,7 +598,7 @@ This slot allows you to customize the checkbox appearance in the table header fo
#### Usage
```vue
-
+
@@ -620,7 +620,7 @@ This slot allows you to customize the checkbox appearance in the table header fo
-
- change(e.target.checked)"
@@ -769,6 +769,6 @@ hiddenCode: true
---
::
-::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/blob/dev/docs/components/content/examples/TableExampleAdvanced.vue" target="_blank"}
+::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/blob/v2/docs/components/content/examples/TableExampleAdvanced.vue" target="_blank"}
Take a look at the component!
::
diff --git a/docs/content/2.components/tabs.md b/docs/content/2.components/tabs.md
index 400edd05..bd5b7b8f 100644
--- a/docs/content/2.components/tabs.md
+++ b/docs/content/2.components/tabs.md
@@ -3,7 +3,7 @@ description: A set of tab panels that are displayed one at a time.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/Tabs.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/navigation/Tabs.vue
---
## Usage
diff --git a/docs/content/2.components/textarea.md b/docs/content/2.components/textarea.md
index 72724460..d0ebdd3e 100644
--- a/docs/content/2.components/textarea.md
+++ b/docs/content/2.components/textarea.md
@@ -3,7 +3,7 @@ description: Display a textarea field.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/Textarea.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/Textarea.vue
---
## Usage
diff --git a/docs/content/2.components/toggle.md b/docs/content/2.components/toggle.md
index 00d01a36..f56c8321 100644
--- a/docs/content/2.components/toggle.md
+++ b/docs/content/2.components/toggle.md
@@ -6,7 +6,7 @@ links:
to: 'https://headlessui.com/v1/vue/switch'
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/forms/Toggle.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/forms/Toggle.vue
---
## Usage
diff --git a/docs/content/2.components/tooltip.md b/docs/content/2.components/tooltip.md
index 03c6be98..00ab42a3 100644
--- a/docs/content/2.components/tooltip.md
+++ b/docs/content/2.components/tooltip.md
@@ -3,7 +3,7 @@ description: Display content that appears on hover next to an element.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Tooltip.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/overlays/Tooltip.vue
---
## Usage
diff --git a/docs/content/2.components/vertical-navigation.md b/docs/content/2.components/vertical-navigation.md
index 4bfb247c..b2a39552 100644
--- a/docs/content/2.components/vertical-navigation.md
+++ b/docs/content/2.components/vertical-navigation.md
@@ -4,7 +4,7 @@ description: Display a list of vertical links.
links:
- label: GitHub
icon: i-simple-icons-github
- to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/VerticalNavigation.vue
+ to: https://github.com/nuxt/ui/blob/v2/src/runtime/components/navigation/VerticalNavigation.vue
---
## Usage
diff --git a/docs/pages/index.vue b/docs/pages/index.vue
index 16f4d8f8..24c75d0e 100644
--- a/docs/pages/index.vue
+++ b/docs/pages/index.vue
@@ -814,7 +814,7 @@ const surround = [{
const md = `
## Edge
-To use the latest updates pushed on the [\`dev\`](https://github.com/nuxt/ui/tree/dev) branch, you can use \`@nuxt/ui-edge\`.
+To use the latest updates pushed on the [\`dev\`](https://github.com/nuxt/ui/tree/v2) branch, you can use \`@nuxt/ui-edge\`.
`
const toc = [{