Skip to content

Commit 6117f81

Browse files
committedJul 1, 2022
fix: add note about Vue 2.7
1 parent 1efdcff commit 6117f81

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Vue 2 plugin for **Composition API**
88

99
English | [中文](./README.zh-CN.md)[**Composition API Docs**](https://v3.vuejs.org/guide/composition-api-introduction.html)
1010

11+
12+
> ⚠️ With the release of [Vue 2.7](https://blog.vuejs.org/posts/vue-2-7-naruto.html), which has Composition API built-in, **you no longer need this plugin**. Thereby this plugin has entered maintenance mode and will only support Vue 2.6 or earlier. This project will reach End of Life by the end of 2022.
13+
1114
## Installation
1215

1316
### NPM

‎README.zh-CN.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
[English](./README.md) | 中文 ・ [**组合式 API 文档**](https://v3.cn.vuejs.org/guide/composition-api-introduction.html)
99

10+
11+
> ⚠️ 随着 [Vue 2.7](https://blog.vuejs.org/posts/vue-2-7-naruto.html)的发布,它内置了Composition API,**你不再需要这个插件了**。因此,这个插件已经进入维护模式,将只支持Vue 2.6 或更早的版本。本项目将在 2022 年底达到生命终点(EOL)。
12+
1013
## 安装
1114

1215
### NPM

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"homepage": "https://github.com/vuejs/composition-api#readme",
5353
"peerDependencies": {
54-
"vue": ">= 2.5 < 3"
54+
"vue": ">= 2.5 < 2.7"
5555
},
5656
"devDependencies": {
5757
"@rollup/plugin-node-resolve": "^13.3.0",

0 commit comments

Comments
 (0)