diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index 50ca114c48..86aa96a8c6 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -30,9 +30,13 @@ export default { function notice_en() { return h('div', { class: 'warning custom-block' }, [ - h('p', { class: 'custom-block-title' }, '⚠️ Notice'), + h( + 'p', + { class: 'custom-block-title' }, + '⚠️ Vue CLI is in Maintenance Mode!' + ), h('p', [ - 'Vue CLI is now in maintenance mode. For new projects, please use ', + 'For new projects, it is now recommended to use ', h( 'a', { @@ -44,10 +48,6 @@ function notice_en() { ' to scaffold ', h('a', { href: 'https://vitejs.dev', target: '_blank' }, 'Vite'), '-based projects. ', - h('code', 'create-vue'), - ' supports both Vue 2 and Vue 3.' - ]), - h('p', [ 'Also refer to the ', h( 'a', @@ -64,9 +64,9 @@ function notice_en() { function notice_zh_cn() { return h('div', { class: 'warning custom-block' }, [ - h('p', { class: 'custom-block-title' }, '⚠️ Notice'), + h('p', { class: 'custom-block-title' }, '⚠️ Vue CLI 现已处于维护模式!'), h('p', [ - 'Vue CLI 现已处于维护模式。新项目请使用 ', + '现在官方推荐使用 ', h( 'a', { @@ -77,16 +77,12 @@ function notice_zh_cn() { ), ' 来创建基于 ', h('a', { href: 'https://cn.vitejs.dev', target: '_blank' }, 'Vite'), - ' 的项目. ', - h('code', 'create-vue'), - ' 同时支持 Vue 2 和 Vue 3.' - ]), - h('p', [ - '另外,请参考 ', + ' 的新项目。 ', + '另外请参考 ', h( 'a', { - href: 'https://vuejs.org/guide/scaling-up/tooling.html', + href: 'https://cn.vuejs.org/guide/scaling-up/tooling.html', target: '_blank' }, 'Vue 3 工具链指南' diff --git a/docs/index.md b/docs/index.md index 7227867878..c321469d11 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,24 +3,13 @@ home: true heroImage: /favicon.png actionText: Get Started → actionLink: /guide/ - -features: - - title: Feature Rich - details: Out-of-the-box support for Babel, TypeScript, ESLint, PostCSS, PWA, Unit Testing & End-to-end Testing. - - title: Extensible - details: The plugin system allows the community to build and share reusable solutions to common needs. - - title: No Need to Eject - details: Vue CLI is fully configurable without the need for ejecting. This allows your project to stay up-to-date for the long run. - - title: Graphical User Interface - details: Create, develop and manage your projects through an accompanying graphical user interface. - - title: - details: - - title: Future Ready - details: Effortlessly ship native ES2015 code for modern browsers, or build your vue components as native web components. - footer: MIT Licensed | Copyright © 2018-present Evan You --- +:::warning Vue CLI is in Maintenance Mode! +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. +::: + ## Getting Started Install: diff --git a/docs/zh/index.md b/docs/zh/index.md index b8772dbe5b..333472410d 100644 --- a/docs/zh/index.md +++ b/docs/zh/index.md @@ -3,22 +3,13 @@ home: true heroImage: /favicon.png actionText: 起步 → actionLink: /zh/guide/ -features: -- title: 功能丰富 - details: 对 Babel、TypeScript、ESLint、PostCSS、PWA、单元测试和 End-to-end 测试提供开箱即用的支持。 -- title: 易于扩展 - details: 它的插件系统可以让社区根据常见需求构建和共享可复用的解决方案。 -- title: 无需 Eject - details: Vue CLI 完全是可配置的,无需 eject。这样你的项目就可以长期保持更新了。 -- title: CLI 之上的图形化界面 - details: 通过配套的图形化界面创建、开发和管理你的项目。 -- title: 即刻创建原型 - details: 用单个 Vue 文件即刻实践新的灵感。 -- title: 面向未来 - details: 为现代浏览器轻松产出原生的 ES2015 代码,或将你的 Vue 组件构建为原生的 Web Components 组件。 footer: MIT Licensed | Copyright © 2018-present Evan You --- +:::warning Vue CLI 现已处于维护模式! +现在官方推荐使用 [create-vue](https://github.com/vuejs/create-vue) 来创建基于 [Vite](https://vitejs.dev/) 的新项目。另外请参考 [Vue 3 工具链指南](https://cn.vuejs.org/guide/scaling-up/tooling.html) 以了解最新的工具推荐。 +::: + ## 起步 安装: