You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ sidebar: auto
10
10
11
11
Some global configurations for `@vue/cli`, such as your preferred package manager and your locally saved presets, are stored in a JSON file named `.vuerc` in your home directory. You can edit this file directory with your editor of choice to change the saved options.
12
12
13
+
You can also use the `vue config` command to inspect or modify the global CLI config.
14
+
13
15
## Target Browsers
14
16
15
17
See the [Browser Compatibility](../guide/browser-compatibility.md#browserslist) section in guide.
Copy file name to clipboardExpand all lines: docs/guide/README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ sidebarDepth: 0
6
6
7
7
<Bit/>
8
8
9
+
::: warning
10
+
This documentation is for `@vue/cli` version **3.x**. For the old `vue-cli`, see [here](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
11
+
:::
12
+
9
13
Vue CLI is a full system for rapid Vue.js development, providing:
10
14
11
15
- Interactive project scaffolding via `@vue/cli`.
@@ -16,6 +20,7 @@ Vue CLI is a full system for rapid Vue.js development, providing:
16
20
- Configurable via in-project config file;
17
21
- Extensible via plugins
18
22
- A rich collection of official plugins integrating the best tools in the frontend ecosystem.
23
+
- A full graphical user intefrace to create and manage Vue.js projects.
19
24
20
25
Vue CLI aims to be the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus on writing your app instead of spending days wrangling with configurations. At the same time, it still offers the flexibility to tweak the config of each tool without the need for ejecting.
Copy file name to clipboardExpand all lines: docs/guide/creating-a-project.md
-14Lines changed: 0 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,5 @@
1
1
# Creating a Project
2
2
3
-
## Installation
4
-
5
-
::: tip Node Version Requirement
6
-
Vue CLI requires [Node.js](https://nodejs.org/) version 8 or above (8.10.0+ recommended). You can manage multiple versions of Node on the same machine with [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
7
-
:::
8
-
9
-
```bash
10
-
npm install -g @vue/cli
11
-
# OR
12
-
yarn global add @vue/cli
13
-
```
14
-
15
-
After installation, you will have access to the `vue` binary in your command line. You can verify that it is properly installed by simply running `vue`, which should present you with a help message listing all available commands.
The package name changed from `vue-cli` to `@vue/cli`.
5
+
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`.
6
+
:::
7
+
8
+
::: tip Node Version Requirement
9
+
Vue CLI requires [Node.js](https://nodejs.org/) version 8 or above (8.11.0+ recommended). You can manage multiple versions of Node on the same machine with [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
10
+
:::
11
+
12
+
To install the new package, use on of those commands:
13
+
14
+
```bash
15
+
npm install -g @vue/cli
16
+
# OR
17
+
yarn global add @vue/cli
18
+
```
19
+
20
+
After installation, you will have access to the `vue` binary in your command line. You can verify that it is properly installed by simply running `vue`, which should present you with a help message listing all available commands.
21
+
22
+
You can check you have the right version (3.x) with this command:
Copy file name to clipboardExpand all lines: docs/guide/plugins-and-presets.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ Vue CLI uses a plugin-based architecture. If you inspect a newly created project
6
6
7
7
The plugin based architecture makes Vue CLI flexible and extensible. If you are interested in developing a plugin, check out the [Plugin Development Guide](../dev-guide/plugin-dev.md).
8
8
9
+
::: tip
10
+
You can install and manage Plugins using the GUI with the `vue ui` command.
11
+
:::
12
+
9
13
### Installing Plugins in an Existing Project
10
14
11
15
Each CLI plugin ships with a generator (which creates files) and a runtime plugin (which tweaks the core webpack config and injects commands). When you use `vue create` to create a new project, some plugins will be pre-installed for you based on your feature selection. In case you want to install a plugin into an already created project, you can do so with the `vue add` command:
0 commit comments