Skip to content

Commit 248f770

Browse files
committed
docs: simplify message wording + message on landing page
1 parent 7c0134e commit 248f770

File tree

3 files changed

+19
-43
lines changed

3 files changed

+19
-43
lines changed

docs/.vitepress/theme/index.js

+11-15
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ export default {
3030

3131
function notice_en() {
3232
return h('div', { class: 'warning custom-block' }, [
33-
h('p', { class: 'custom-block-title' }, '⚠️ Notice'),
33+
h(
34+
'p',
35+
{ class: 'custom-block-title' },
36+
'⚠️ Vue CLI is in Maintenance Mode!'
37+
),
3438
h('p', [
35-
'Vue CLI is now in maintenance mode. For new projects, please use ',
39+
'For new projects, it is now recommended to use ',
3640
h(
3741
'a',
3842
{
@@ -44,10 +48,6 @@ function notice_en() {
4448
' to scaffold ',
4549
h('a', { href: 'https://vitejs.dev', target: '_blank' }, 'Vite'),
4650
'-based projects. ',
47-
h('code', 'create-vue'),
48-
' supports both Vue 2 and Vue 3.'
49-
]),
50-
h('p', [
5151
'Also refer to the ',
5252
h(
5353
'a',
@@ -64,9 +64,9 @@ function notice_en() {
6464

6565
function notice_zh_cn() {
6666
return h('div', { class: 'warning custom-block' }, [
67-
h('p', { class: 'custom-block-title' }, '⚠️ Notice'),
67+
h('p', { class: 'custom-block-title' }, '⚠️ Vue CLI 现已处于维护模式!'),
6868
h('p', [
69-
'Vue CLI 现已处于维护模式。新项目请使用 ',
69+
'现在官方推荐使用 ',
7070
h(
7171
'a',
7272
{
@@ -77,16 +77,12 @@ function notice_zh_cn() {
7777
),
7878
' 来创建基于 ',
7979
h('a', { href: 'https://cn.vitejs.dev', target: '_blank' }, 'Vite'),
80-
' 的项目. ',
81-
h('code', 'create-vue'),
82-
' 同时支持 Vue 2 和 Vue 3.'
83-
]),
84-
h('p', [
85-
'另外,请参考 ',
80+
' 的新项目。 ',
81+
'另外请参考 ',
8682
h(
8783
'a',
8884
{
89-
href: 'https://vuejs.org/guide/scaling-up/tooling.html',
85+
href: 'https://cn.vuejs.org/guide/scaling-up/tooling.html',
9086
target: '_blank'
9187
},
9288
'Vue 3 工具链指南'

docs/index.md

+4-15
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,13 @@ home: true
33
heroImage: /favicon.png
44
actionText: Get Started →
55
actionLink: /guide/
6-
7-
features:
8-
- title: Feature Rich
9-
details: Out-of-the-box support for Babel, TypeScript, ESLint, PostCSS, PWA, Unit Testing & End-to-end Testing.
10-
- title: Extensible
11-
details: The plugin system allows the community to build and share reusable solutions to common needs.
12-
- title: No Need to Eject
13-
details: Vue CLI is fully configurable without the need for ejecting. This allows your project to stay up-to-date for the long run.
14-
- title: Graphical User Interface
15-
details: Create, develop and manage your projects through an accompanying graphical user interface.
16-
- title:
17-
details:
18-
- title: Future Ready
19-
details: Effortlessly ship native ES2015 code for modern browsers, or build your vue components as native web components.
20-
216
footer: MIT Licensed | Copyright © 2018-present Evan You
227
---
238

9+
:::warning Vue CLI is in Maintenance Mode!
10+
For new projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects. Also refer to the [Vue 3 Tooling Guide](https://vuejs.org/guide/scaling-up/tooling.html) for the latest recommendations.
11+
:::
12+
2413
## Getting Started
2514

2615
Install:

docs/zh/index.md

+4-13
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,13 @@ home: true
33
heroImage: /favicon.png
44
actionText: 起步 →
55
actionLink: /zh/guide/
6-
features:
7-
- title: 功能丰富
8-
details: 对 Babel、TypeScript、ESLint、PostCSS、PWA、单元测试和 End-to-end 测试提供开箱即用的支持。
9-
- title: 易于扩展
10-
details: 它的插件系统可以让社区根据常见需求构建和共享可复用的解决方案。
11-
- title: 无需 Eject
12-
details: Vue CLI 完全是可配置的,无需 eject。这样你的项目就可以长期保持更新了。
13-
- title: CLI 之上的图形化界面
14-
details: 通过配套的图形化界面创建、开发和管理你的项目。
15-
- title: 即刻创建原型
16-
details: 用单个 Vue 文件即刻实践新的灵感。
17-
- title: 面向未来
18-
details: 为现代浏览器轻松产出原生的 ES2015 代码,或将你的 Vue 组件构建为原生的 Web Components 组件。
196
footer: MIT Licensed | Copyright © 2018-present Evan You
207
---
218

9+
:::warning Vue CLI 现已处于维护模式!
10+
现在官方推荐使用 [create-vue](https://github.com/vuejs/create-vue) 来创建基于 [Vite](https://vitejs.dev/) 的新项目。另外请参考 [Vue 3 工具链指南](https://cn.vuejs.org/guide/scaling-up/tooling.html) 以了解最新的工具推荐。
11+
:::
12+
2213
## 起步
2314

2415
安装:

0 commit comments

Comments
 (0)