8000 docs: Add vue-class-migrator reference (#638) · vuejs/vue-class-component@b866fde · GitHub
[go: up one dir, main page]

Skip to content

Commit b866fde

Browse files
authored
docs: Add vue-class-migrator reference (#638)
1 parent 54545a0 commit b866fde

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
This library is no longer actively maintained. It is no longer recommend to use Class-based components in Vue 3. The recommended way to use Vue 3 in large applications is Single-File Components, Composition API, and `<script setup>`. If you still want to use classes, check out the community-maintained project [`vue-facing-decorator`](https://facing-dev.github.io/vue-facing-decorator/#/).
77

8+
Additionally, if you're interested in migrating out of class components, you might find the CLI tool [`vue-class-migrator`](https://github.com/getyourguide/vue-class-migrator) helpful for the transition.
9+
810
---
911

1012
ECMAScript / TypeScript decorator for class-style Vue components.

docs/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
:::warning
44
This library is no longer actively maintained. It is no longer recommend to use Class-based components in Vue 3. The recommended way to use Vue 3 in large applications is Single-File Components, Composition API, and `<script setup>`. If you still want to use classes, check out the community-maintained project [`vue-facing-decorator`](https://facing-dev.github.io/vue-facing-decorator/#/).
5+
6+
Additionally, if you're interested in migrating out of class components, you might find the CLI tool [`vue-class-migrator`](https://github.com/getyourguide/vue-class-migrator) helpful for the transition.
7+
58
:::
69

710
Vue Class Component is a library that lets you make your Vue components in class-style syntax. For example, below is a simple counter component written with Vue Class Component:

0 commit comments

Comments
 (0)
0