Commit Graph

164 Commits

Author SHA1 Message Date
Haoqun Jiang
eee082d331 feat: bump lint-staged to v10 (#6136) 2020-12-11 14:37:25 +08:00
Haoqun Jiang
1e5ba6b831 feat!: make vue serve/build aliases to npm run serve/build (#6115)
To avoid user confusion. Also allows us to focus more on CLI's core
functionalities.
2020-12-08 11:08:07 +08:00
Timothy
73e059a787 Update Vercel deployment instructions (#5835) 2020-10-06 13:22:18 +03:00
martinnaughton
352d759b60 docs: add notes on the vue inspect command (#3797) [skip ci]
Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-09-28 16:11:44 +08:00
Sarbik Betal
145cccac44 docs: update netlify docs for vue/cli-plugin-pwa (#5847) [skip ci] 2020-09-28 15:40:17 +08:00
Haoqun Jiang
468986b2c1 docs: remove mention of Node.js v8 npm workaround, as it's been fixed [skip ci] 2020-09-23 13:42:12 +08:00
ʀᴀʏ
e4e5926ec6 docs: change zeit to vercel (#5807) [ci skip]
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-28 13:44:12 +08:00
Luis Marroquin
929f1b0e6b docs: update deployment.md (#5815) [ci skip]
Comment: // vue.config.js file to be place in the root of your repository

Should be also on `GitHub Pages` guide, not only `GitLab Pages`
2020-08-24 15:54:28 +08:00
Haoqun Jiang
d9d191f416 docs: update Node version requirement to address package manager issues (#5811) [ci skip]
It's recommended to use NPM v6 with Node.js v8, because:

1. Some of the upstream packages may accidentally introduce dependencies
that require Node.js 10+ in the `engines` field. This only leads to a
warning in NPM but will break Yarn.

2. NPM v5 does not support dependency versions starting with `npm:`,
so it can't support Vue 3 related features in Vue CLI.
2020-08-24 15:52:19 +08:00
Necmettin Karakaya
5baec1fdc5 chore: fix common misspelling errors (#5694)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-10 01:17:01 +08:00
Yazhe Wang
38234ef74c docs: additionalData option for sass-loader 9.0 (#5673) [ci skip] 2020-07-13 16:21:07 +08:00
Dave Dane Pacilan
a21c19b1d8 docs: Update Firebase project link (#5664) [ci skip] 2020-07-09 21:13:34 +08:00
Haoqun Jiang
f6e9b9469f docs: @babel-preset/env -> @babel/preset-env (#5603)
closes #5475

Thank @ucev for spotting this.
2020-06-24 10:35:19 +08:00
yazhe wang
696542d354 docs: serve command default entry value (#5558) [ci skip]
closes #5562 4485
2020-06-10 15:36:28 +08:00
Timi Omoyeni
0ce0db287e docs: make heroku resource link accessible (#5312) 2020-03-31 18:12:37 +08:00
Haoqun Jiang
a66fee6386 docs: update polyfill names according to core-js 3 (#5282) 2020-03-19 21:25:39 +08:00
Haoqun Jiang
d41f31c2f9 docs: add warning on client side environment variables (#5243)
Inspired by the create-react-app documentation
https://create-react-app.dev/docs/adding-custom-environment-variables
2020-03-07 00:22:35 +01:00
Ville Säävuori
677e4c5aa0 Added basic upgrading instructions (#5176)
* Added basic upgrading instructions

* Update docs/guide/installation.md

Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com>

* Update docs/guide/installation.md

Co-Authored-By: Natalia Tepluhina <tarya.se@gmail.com>

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
2020-02-15 12:40:11 +02:00
小新
7f2140a218 docs(en): update polyfill import according to core-js 3 docs (#5130) 2020-02-06 13:36:49 +08:00
Илья
9f0b1f6243 fix(docs): new travis CLI interface (#5126)
At the moment this is done like this: https://github.com/travis-ci/travis.rb#env
2020-02-01 09:36:34 +02:00
Frank Fang
b5dedc175c Add a demo for multiple loaders (#5076) 2020-01-14 15:32:41 +02:00
Natalia Tepluhina
cf5f009327 Mention that Vue CLI should be installed in Prototyping guide (#5079)
* docs: clarified that we need CLI installed

* docs: added vue-cli to bash script

* Update docs/guide/prototyping.md

Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-01-14 10:04:21 +08:00
Jose G. Alfonso
f83c44113f Update doc section on Git Hooks (#4820)
Added complete required entries for lint-staged to work
2019-11-21 10:33:38 +02:00
Haoqun Jiang
e46ac20784 docs: add warnings on css sideEffects (#4836)
These warnings are originally stated in the vue-loader documentation,
but the CLI documentation perhaps have more visibility.

Fixes #4832
2019-11-21 10:33:02 +02:00
gregoiredx
d4bd9c644f use gitlab CI env variable for project name (#4716)
* use gitlab CI env variable for project name

* add explanation on CI_PROJECT_NAME env var

* docs: gzip support in GitLab Pages
2019-11-07 07:17:48 +02:00
Yoshiaki Itakura
77384eced8 fix docs css.loaderOptions.css.localsConvention (#4803)
Moved 'localsConvention' to the same level as 'modules'.
2019-11-06 22:14:28 +08:00
arnaudvalle
6347fd2660 docs: specify default entryFile value for serve command (#4758) 2019-10-26 10:54:30 +03:00
Mulia Nasution
2cdb50c802 Fix indentation of --inline-vue description (#4733) 2019-10-21 20:13:48 +08:00
René Eschke
c76091075f missing documentation for building with vuex (#2319)
I really needed this tip and luckily got it from this awesome community in a github issue.
This definitely needs to be in the docs aswell:
https://github.com/vuejs/vue-cli/issues/2304#issuecomment-414702510
2019-10-11 22:18:43 +02:00
Haoqun Jiang
7813ca9e73 chore: update sponsors (#4656)
(cherry picked from commit 4f4aae2420)
2019-10-08 13:25:37 +08:00
Haoqun Jiang
bd9442b092 chore: merge branch 'next' into dev 2019-09-25 01:28:55 +08:00
vahdet
3f5f438f7e Edited Dockerfile of Docker(Nginx) deployment doc (#4561)
* Edited Dockerfile of Docker(Nginx) deployment doc

Edited `Dockerfile` section of https://cli.vuejs.org/guide/deployment.html#docker-nginx

As shown in [Vue v2 cookbook](https://vuejs.org/v2/cookbook/dockerize-vuejs-app.html) copying `package*.json` initially and running `npm install` in a separate step allows caching and reduces time elapsed during Docker build. Also the difference between the two docs will be reduced and be less confusing to those who end up with both of them.

* node version to latest

(cherry picked from commit 69f7145b02)
2019-09-25 01:25:47 +08:00
Owan Hunte
dcd2a850b8 Documentation typo fixes (#4500)
* Minor typo fix for CLI Service docs page

In the last paragraph of the CLI Service docs page the second instance of the word 'need' should be changed to 'needs'.

* Typo fix to 'HTML and Static Assets' docs page

(cherry picked from commit b20e27ad12)
2019-09-25 01:25:09 +08:00
Haoqun Jiang
cc06091d8c docs: fix syntax highlighting 2019-09-23 17:11:07 +08:00
Haoqun Jiang
af17a9b49f feat: support sass-loader v8 2019-09-09 17:23:21 +08:00
Haoqun Jiang
79affdc82d chore: merge branch 'next' into dev 2019-08-21 17:32:45 +08:00
Thorsten Lünborg
fba2ad0606 feat: --skip-plugins (#4448)
Allow skipping of plugins  from command line

close #4262
close #3830
2019-08-21 15:38:01 +08:00
Roman Pavlov
86f4f5fceb feat(build): add --inline-vue flag to optionally disable externalization of Vue (#4261)
Resolves #4055.
2019-08-19 21:05:46 +08:00
Daniel Luz
94b07fb8b2 Update npx repository URL. (#4431) 2019-08-15 09:49:30 +02:00
Haoqun Jiang
aae827a108 docs: remove version (3.x) reference in docs 2019-08-13 21:03:06 +08:00
Kid
4cfa70421e docs: update Now deployment guide (#4395) 2019-08-07 10:45:53 +03:00
Haoqun Jiang
e9fd9a716c feat!: deprecate css.modules in favor of css.requireModuleExtension (#4387)
closes #4376

Since css-loader v3, custom CSS Modules configurations are under the
`modules` field. So when a user customizes these configurations, the `modules`
feature is automatically enabled for all css files.
So we must require the user's explicit consensus or disagreement on whether
these rules apply to all CSS files or not.
2019-08-02 21:14:39 +08:00
Haoqun Jiang
930b4596b1 feat: allow configuring scss options separately from sass (#4386)
closes #4116
2019-08-02 19:45:12 +08:00
Mohsen Sadeghzade
8492055a7f Update mode-and-env.md (#4257)
* Update mode-and-env.md

Fixed example of keys, which they should start with VUE_APP_

* Update mode-and-env.md

change position of the tip

* Update docs/guide/mode-and-env.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 149b307f72)
2019-07-30 00:21:15 +08:00
Haoqun Jiang
a8df1df26c fix: fix css.loaderOptions.css.modules default values (#4363)
fixes #4357
2019-07-29 22:20:53 +08:00
Boris K
59d3e74f33 feat: add --port argument to 'vue serve' command (#4342) 2019-07-25 09:57:00 +08:00
mx
45399b192a Explain when .env files are loaded. (#4171)
It appears that .env files are only loaded at the start of `vue-cli-service` and are not watched for hot reloads.
**I am actually not sure this is the case for everyone, but is so for me.**

I think it is worth noting because the expectation is that a file at the root of the project would be watched for hot reloads.

(cherry picked from commit b22bedbf94)
2019-07-18 16:58:40 +08:00
Ivan Sieder
c6cab262e6 Updated for Zeit Now V2 (#4232)
* Updated for Zeit Now V2

* Fixed styling issue

* Added additional hint for router mode set to history

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 55dc287936)
2019-07-18 16:58:40 +08:00
Richard Patel
d0979727d8 deployment.md: Add instructions for Travis CI (#4103)
* deployment.md: Add instructions for Travis CI

* deployment.md: Same section for GitHub Pages

(cherry picked from commit 9c8c5ba91a)
2019-07-06 18:36:55 +08:00
Haoqun Jiang
8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00