Skip to content

added message #7405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7111fcf
chore: add `scss` to LoaderOptions interface (#7039)
hiblacker Mar 14, 2022
4c679ec
fix(cli-service): devServer proxy should be optional (#7044)
ntnyq Mar 14, 2022
37ef809
fix: lock node-ipc version
haoqunjiang Mar 15, 2022
a859b1f
v5.0.2
haoqunjiang Mar 15, 2022
b0d9316
fix(typo): should lock version
haoqunjiang Mar 15, 2022
dd53f26
v5.0.3
haoqunjiang Mar 15, 2022
75826d6
fix: replace `node-ipc` with `@achrinza/node-ipc` to further secure t…
haoqunjiang Mar 22, 2022
c5cfefb
Better handling of `publicPath: 'auto'` (#7005)
AndreiSoroka Mar 22, 2022
ca97fc2
v5.0.4
haoqunjiang Mar 22, 2022
9c74b30
docs: update changelog
haoqunjiang Mar 22, 2022
a3ccc3d
docs: add 4.5.17 changelog
haoqunjiang Mar 23, 2022
dded73a
fix: windows vue.config.mjs support (#7023)
xiaoxiangmoe Mar 31, 2022
6035629
chore: remove redundant yorkie dependency in typescript plugin
haoqunjiang Apr 6, 2022
940e436
fix: update `@achrinza/node-ipc` to support non-LTS Node.js versions
haoqunjiang Apr 6, 2022
ce97e62
fix: add XMLSerializer to the global scope (#7101)
maerteijn Apr 13, 2022
00fd2b6
chore: update the @achrinza/node-ipc to support Node.js 18
haoqunjiang Jun 14, 2022
1452cd3
feat: update cypress to 9.x
haoqunjiang Jun 14, 2022
d5bb358
chore: update lockfile
haoqunjiang Jun 14, 2022
b2b07a5
chore: run yarn-audit-fix
haoqunjiang Jun 15, 2022
697bb44
fix: should correctly resolve cypress bin path for Cypress 10
haoqunjiang Jun 15, 2022
619965b
docs: fix 404 links
haoqunjiang Jun 15, 2022
27dba1a
fix: eliminate calling deprecated function in cli-plugin-e2e-cypress …
blzsaa Jun 16, 2022
64446e0
feat(upgrade): prevent changing the structure of package.json file du…
blzsaa Jun 16, 2022
98c66c9
v5.0.5
haoqunjiang Jun 16, 2022
a648958
fix: compatibility with Vue 2.7
haoqunjiang Jun 16, 2022
fcf27e3
fixup! fix: compatibility with Vue 2.7
haoqunjiang Jun 16, 2022
6b163f2
chore: fix lint errors
haoqunjiang Jun 16, 2022
ef08a08
v5.0.6
haoqunjiang Jun 16, 2022
bddd64d
fix: optimize the judgment on whether HTTPS has been set in options (…
backrunner Jul 4, 2022
558dea2
fix: support `devServer.server` option, avoid deprecation warning
haoqunjiang Jul 4, 2022
beffe8a
fix: allow disabling progress plugin via `devServer.client.progress`
haoqunjiang Jul 4, 2022
23fa20f
chore: upgrade to apollo-server-express 3.x (#7210)
haoqunjiang Jul 5, 2022
6f9b6ec
chore: update fallback chromedriver version
haoqunjiang Jul 5, 2022
4a0655f
v5.0.7
haoqunjiang Jul 5, 2022
a5a893e
chore: update changelog
haoqunjiang Jul 5, 2022
07052c4
fix: Vue CLI UI graphql subscription server error
haoqunjiang Jul 7, 2022
0260e4d
fix: add devServer.server.type to useHttps judgement (#7222)
backrunner Jul 7, 2022
4e024b7
ci: bump appveyor node version
haoqunjiang Jul 7, 2022
b154dbd
v5.0.8
haoqunjiang Jul 7, 2022
bc1c0bc
chore: update readme [ci skip]
yyx990803 Aug 17, 2022
95ad425
docs: bump vitepress
yyx990803 Aug 17, 2022
7c0134e
docs: add recommendation for create-vue in docs
yyx990803 Aug 17, 2022
248f770
docs: simplify message wording + message on landing page
yyx990803 Aug 17, 2022
e636817
docs: revert vitepress version
yyx990803 Aug 17, 2022
ea4c98a
fix: pnpm v7 install error (#7265)
lvqq Sep 4, 2022
f0f254e
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#7324)
dependabot[bot] Nov 9, 2022
cfde3e7
Update README.md
kenzo104 Jul 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: add recommendation for create-vue in docs
  • Loading branch information
yyx990803 committed Aug 17, 2022
commit 7c0134e653a0f58315ac9b06e940a5c5928b8b0b
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## ⚠️ Status

Vue CLI is now in maintenance mode. For new projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects, which supports both Vue 2 and Vue 3.
Vue CLI is now in maintenance mode. For new projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects. `create-vue` supports both Vue 2 and Vue 3.

Also refer to the latest [Tooling Guide](https://vuejs.org/guide/scaling-up/tooling.html) on setting up a new Vue 3 project.
Also refer to the [Vue 3 Tooling Guide](https://vuejs.org/guide/scaling-up/tooling.html) for the latest recommendations.

For information on migrating from Vue CLI to Vite:

Expand Down
93 changes: 85 additions & 8 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,96 @@ import { h } from 'vue'
import DefaultTheme from 'vitepress/dist/client/theme-default'
import AlgoliaSearchBox from './AlgoliaSearchBox.vue'
import './custom.css'
import { useData } from 'vitepress'

export default {
...DefaultTheme,
Layout() {
return h(DefaultTheme.Layout, null, {
'navbar-search': () => {
return h(AlgoliaSearchBox, {
options: {
indexName: 'cli_vuejs',
apiKey: 'f6df220f7d246aff64a56300b7f19f21',
Layout: {
setup() {
const { lang } = useData()
return () => {
return h(DefaultTheme.Layout, null, {
'page-top': () => {
return lang.value === 'zh-CN' ? notice_zh_cn() : notice_en()
},
'navbar-search': () => {
return h(AlgoliaSearchBox, {
options: {
indexName: 'cli_vuejs',
apiKey: 'f6df220f7d246aff64a56300b7f19f21'
}
})
}
})
}
})
}
}
}

function notice_en() {
return h('div', { class: 'warning custom-block' }, [
h('p', { class: 'custom-block-title' }, '⚠️ Notice'),
h('p', [
'Vue CLI is now in maintenance mode. For new projects, please use ',
h(
'a',
{
href: 'https://github.com/vuejs/create-vue',
target: '_blank'
},
[h('code', 'create-vue')]
),
' 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',
{
href: 'https://vuejs.org/guide/scaling-up/tooling.html',
target: '_blank'
},
'Vue 3 Tooling Guide'
),
' for the latest recommendations.'
])
])
}

function notice_zh_cn() {
return h('div', { class: 'warning custom-block' }, [
h('p', { class: 'custom-block-title' }, '⚠️ Notice'),
h('p', [
'Vue CLI 现已处于维护模式。新项目请使用 ',
h(
'a',
{
href: 'https://github.com/vuejs/create-vue',
target: '_blank'
},
[h('code', 'create-vue')]
),
' 来创建基于 ',
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',
target: '_blank'
},
'Vue 3 工具链指南'
),
' 以了解最新的工具推荐。'
])
])
}
4 changes: 0 additions & 4 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# Overview

::: warning
This documentation is for `@vue/cli`. For the old `vue-cli`, see [here](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
:::

Vue CLI is a full system for rapid Vue.js development, providing:

- Interactive project scaffolding via `@vue/cli`.
Expand Down
5 changes: 0 additions & 5 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Installation

::: warning Warning regarding Previous Versions
The package name changed from `vue-cli` to `@vue/cli`.
If you have the previous `vue-cli` (1.x or 2.x) package installed globally, you need to uninstall it first with `npm uninstall vue-cli -g` or `yarn global remove vue-cli`.
:::

::: tip Node Version Requirement
Vue CLI 4.x requires [Node.js](https://nodejs.org/) version 8.9 or above (v10+ recommended). You can manage multiple versions of Node on the same machine with [n](https://github.com/tj/n), [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
:::
Expand Down
4 changes: 0 additions & 4 deletions docs/ru/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# Введение

::: warning Предупреждение
Эта документация для `@vue/cli`. Для старой версии `vue-cli`, см. [здесь](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
:::

Vue CLI — полноценная система для быстрой разработки на Vue.js, предоставляющая:

- Интерактивное создание проекта через `@vue/cli`.
Expand Down
5 changes: 0 additions & 5 deletions docs/ru/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Установка

::: danger Предупреждение о предыдущих версиях
Имя пакета изменилось с `vue-cli` на `@vue/cli`.
Если у вас установлена глобально предыдущая версия пакета `vue-cli` (1.x или 2.x), то необходимо сначала удалить её командой `npm uninstall vue-cli -g` или `yarn global remove vue-cli`.
:::

::: tip Требования к версии Node
Vue CLI 4.x требуется [Node.js](https://nodejs.org/) версии 8.9 или выше (рекомендуется v10+). Управлять несколькими версиями Node на машине можно через [n](https://github.com/tj/n), [nvm](https://github.com/creationix/nvm) или [nvm-windows](https://github.com/coreybutler/nvm-windows).
:::
Expand Down
4 changes: 0 additions & 4 deletions docs/zh/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# 介绍

::: warning 警告
这份文档对应的是 `@vue/cli`。老版本的 `vue-cli` 文档请移步[这里](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--)。
:::

Vue CLI 是一个基于 Vue.js 进行快速开发的完整系统,提供:

- 通过 `@vue/cli` 实现的交互式的项目脚手架。
Expand Down
5 changes: 0 additions & 5 deletions docs/zh/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# 安装

::: warning 关于旧版本
Vue CLI 的包名称由 `vue-cli` 改成了 `@vue/cli`。
如果你已经全局安装了旧版本的 `vue-cli` (1.x 或 2.x),你需要先通过 `npm uninstall vue-cli -g` 或 `yarn global remove vue-cli` 卸载它。
:::

::: tip Node 版本要求
Vue CLI 4.x 需要 [Node.js](https://nodejs.org/) v8.9 或更高版本 (推荐 v10 以上)。你可以使用 [n](https://github.com/tj/n),[nvm](https://github.com/creationix/nvm) 或 [nvm-windows](https://github.com/coreybutler/nvm-windows) 在同一台电脑中管理多个 Node 版本。
:::
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy