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: CHANGELOG.md
+37
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,41 @@
1
1
2
+
## 4.5.5 (2020-09-10)
3
+
4
+
#### :bug: Bug Fix
5
+
*`@vue/cli-service`
6
+
*[#5868](https://github.com/vuejs/vue-cli/pull/5868) fix: enable some syntax extensions by default for vue script compiler ([@sodatea](https://github.com/sodatea))
*[#5591](https://github.com/vuejs/vue-cli/pull/5591) fix(unit-jest, unit-mocha): generate passing tests when `bare` option is used with router enabled (#3544) ([@IwalkAlone](https://github.com/IwalkAlone))
11
+
*`@vue/cli-plugin-pwa`
12
+
*[#5820](https://github.com/vuejs/vue-cli/pull/5820) fix: allow turning off theme color tags ([@GabrielGMartinsBr](https://github.com/GabrielGMartinsBr))
13
+
*`@vue/cli`
14
+
*[#5827](https://github.com/vuejs/vue-cli/pull/5827) fix: fix support for Node.js v8 and deprecate it ([@sodatea](https://github.com/sodatea))
15
+
*[#5823](https://github.com/vuejs/vue-cli/pull/5823) Handle GPG sign git config for initial commit ([@spenserblack](https://github.com/spenserblack))
16
+
*[#5808](https://github.com/vuejs/vue-cli/pull/5808) fix: strip non-ansi characters from registry config ([@sodatea](https://github.com/sodatea))
17
+
*[#5801](https://github.com/vuejs/vue-cli/pull/5801) fix: do not throw when api.render is called from an anonymous function ([@sodatea](https://github.com/sodatea))
18
+
19
+
#### :house: Internal
20
+
*`@vue/cli-ui`
21
+
*[#3687](https://github.com/vuejs/vue-cli/pull/3687) perf(ui): improve get folder list to use Promises instead of sync ([@pikax](https://github.com/pikax))
22
+
23
+
#### :hammer: Underlying Tools
24
+
*`@vue/babel-preset-app`
25
+
*[#5831](https://github.com/vuejs/vue-cli/pull/5831) chore: rename jsx package scope from ant-design-vue to vue ([@Amour1688](https://github.com/Amour1688))
Copy file name to clipboardExpand all lines: docs/guide/deployment.md
+14-12
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ If you are using the PWA plugin, your app must be served over HTTPS so that [Ser
44
44
If you are deploying to `https://<USERNAME>.github.io/<REPO>/`, (i.e. your repository is at `https://github.com/<USERNAME>/<REPO>`), set `publicPath` to `"/<REPO>/"`. For example, if your repo name is "my-project", your `vue.config.js` should look like this:
45
45
46
46
```js
47
+
// vue.config.js file to be place in the root of your repository
48
+
47
49
module.exports= {
48
50
publicPath:process.env.NODE_ENV==='production'
49
51
?'/my-project/'
@@ -265,20 +267,20 @@ You can now access your project on `https://<YOUR-PROJECT-ID>.firebaseapp.com` o
265
267
266
268
Please refer to the [Firebase Documentation](https://firebase.google.com/docs/hosting/deploying) for more details.
267
269
268
-
### Now
270
+
### Vercel
269
271
270
-
This example uses the latest Now platform version 2.
272
+
This example uses the latest Vercel platform version 2.
271
273
272
-
1. Install the NowCLI:
274
+
1. Install the VercelCLI:
273
275
274
276
```bash
275
-
npm install -g now
277
+
npm install -g vercel
276
278
277
279
# Or, if you prefer a local one
278
-
npm install now
280
+
npm install vercel
279
281
```
280
282
281
-
2. Add a `now.json` file to your project root:
283
+
2. Add a `vercel.json` file to your project root:
282
284
283
285
```json
284
286
{
@@ -287,7 +289,7 @@ npm install now
287
289
"builds": [
288
290
{
289
291
"src": "package.json",
290
-
"use": "@now/static-build"
292
+
"use": "@vercel/static-build"
291
293
}
292
294
],
293
295
"routes": [
@@ -320,24 +322,24 @@ npm install now
320
322
```diff
321
323
- {
322
324
- "src": "package.json",
323
-
- "use": "@now/static-build"
325
+
- "use": "@vercel/static-build"
324
326
- }
325
327
+ {
326
328
+ "src": "package.json",
327
-
+ "use": "@now/static-build",
329
+
+ "use": "@vercel/static-build",
328
330
+ "config": { "distDir": "build" }
329
331
+ }
330
332
```
331
333
332
334
3. Adding a `now-build` script in`package.json`:
333
335
334
336
```json
335
-
"now-build": "npm run build"
337
+
"vercel-build": "npm run build"
336
338
```
337
339
338
-
To make a deployment, run `now`.
340
+
To make a deployment, run `vercel`.
339
341
340
-
If you want your deployment aliased, run `now --target production` instead.
342
+
If you want your deployment aliased, run `vercel --target production` instead.
Copy file name to clipboardExpand all lines: docs/guide/installation.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@ If you have the previous `vue-cli` (1.x or 2.x) package installed globally, you
6
6
:::
7
7
8
8
::: tip Node Version Requirement
9
-
Vue CLI requires [Node.js](https://nodejs.org/) version 8.9 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).
9
+
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).
10
+
11
+
As Node.js v8 has reached end-of-life, it's now recommended to use Node.js v10+ for best compatibility.
12
+
If you have to stay with Node.js v8, please make sure npm v6 is used as the default package manager. (`npm -v` to check the version, and `vue config --set packageManager npm` to set the default package manager.)
10
13
:::
11
14
12
15
To install the new package, use one of the following commands. You need administrator privileges to execute these unless npm was installed on your system through a Node.js version manager (e.g. n or nvm).
@@ -38,15 +41,15 @@ yarn global upgrade --latest @vue/cli
38
41
39
42
#### Project Dependencies
40
43
41
-
Upgrade commands shown above apply to the global Vue CLI installation. To upgrade one or more `@vue/cli` related packages (including packages starting with `@vue/cli-plugin-`) inside your project, run `vue upgrade` inside the project directory:
44
+
Upgrade commands shown above apply to the global Vue CLI installation. To upgrade one or more `@vue/cli` related packages (including packages starting with `@vue/cli-plugin-` or `vue-cli-plugin-`) inside your project, run `vue upgrade` inside the project directory:
42
45
43
46
```
44
47
Usage: upgrade [options] [plugin-name]
45
48
46
49
(experimental) upgrade vue cli service / plugins
47
50
48
51
Options:
49
-
-t, --to <version> Upgrade <package-name> to a version that is not latest
52
+
-t, --to <version> Upgrade <plugin-name> to a version that is not latest
50
53
-f, --from <version> Skip probing installed plugin, assuming it is upgraded from the designated version
51
54
-r, --registry <url> Use specified npm registry when installing dependencies
0 commit comments