Commit Graph

60 Commits

Author SHA1 Message Date
Alexander Sokolov
d730053b23 Update build-targets.md (#2157)
70160cc268 (diff-a3b41b526ebd10253d5760e82fdbfe1d)
2018-08-12 19:24:03 +09:00
Evan You
ddbb37588e docs: add a note on polyfills in lib/wc 2018-08-10 14:52:10 -04:00
Evan You
c4b4bb06a1 docs: improve installation tip + tweaks [ci skip] 2018-08-10 10:43:24 -04:00
Evan You
492e567602 docs: add note about CSS static assets [ci skip] 2018-08-10 09:14:31 -04:00
Evan You
7b39bed188 refactor: use better modern mode and cors implementation
BREAKING CHANGE: The `corsUseCredentials` option has been replaced by the new
`crossorigin` option.
2018-08-08 23:31:13 -04:00
Evan You
c4843ef12e docs: document usage for generator & prompts in remote/local presets [ci skip] 2018-08-08 16:54:19 -04:00
Evan You
fff62f7a73 refactor: enable dev config in more cases 2018-08-08 10:18:48 -04:00
Evan You
70160cc268 docs: update docs to match image inline limit
close #2106
2018-08-08 09:51:16 -04:00
Ivan Sieder
981d1a976d docs: removed duplicate "Now" title (#2079) [ci skip] 2018-08-07 11:38:18 -04:00
Evan You
69ee1e63f0 docs: merge branch 'docs' into dev [ci skip] 2018-08-07 11:31:30 -04:00
David Bernegger
fa6e9772d8 docs: update create command flags (#2063) [ci skip] 2018-08-05 23:25:31 -04:00
Evan You
01407ed29d docs: make Now deployment guide work for SPA 2018-08-05 22:35:00 -04:00
Alexander Sokolov
e3ba60fbf5 docs: update cli-service.md (#2037) [ci skip] 2018-08-05 22:28:43 -04:00
Ivan Sieder
cca857c3ff docs: added Now deployment (#2022) 2018-08-05 22:27:04 -04:00
Matt Isenhower
e21c49adb4 docs: fix issues with prefetch override docs (#2010) [ci skip] 2018-08-05 22:12:15 -04:00
Alexander Sokolov
d1a655c3f0 docs: fix link in html-and-static-assets.md (#2003) 2018-07-31 10:45:43 -04:00
Evan You
87f6eda2b9 docs: add a note about CSP for modern mode [ci skip] 2018-07-31 10:14:52 -04:00
Evan You
77f7f9ac77 docs: filenameHashing 2018-07-30 16:01:15 -04:00
Evan You
1ce40cd247 docs: Merge branch 'docs' into dev 2018-07-26 22:43:25 -04:00
Guillaume Chau
0521818087 docs(css): auto import [ci skip] 2018-07-24 19:09:26 +02:00
Evan You
c245579b41 docs: mention how to use webpack built-in prefetch [ci skip] 2018-07-24 11:51:12 -04:00
Evan You
30215c2819 feat: add corsUseCredentials option
This allows the user to configure which CORS strategy to use
for <script type=module> in modern mode.

close #1867
2018-07-23 13:04:48 -04:00
Evan You
45cc5e94e9 docs: add tip about env loading priorities 2018-07-23 12:34:49 -04:00
Evan You
7b93b55fc2 docs: improve wc build target docs 2018-07-20 11:12:14 -04:00
Olivier Ligot
b4509d617a docs: fix babel-preset-app link (#1903)
The documentation was using babel-preset-env instead of babel-preset-app
2018-07-20 07:38:53 -07:00
james south
76b668abac docs: add note about Git Bash on Windows (#1885) 2018-07-20 06:25:19 -07:00
Evan You
ab66dc199a docs: update GitHub pages deployment guide [ci skip] 2018-07-17 15:25:56 -04:00
Eric Ti-Yu Chiang
e37da595d5 docs: Add the GitHub Pages platform guide (#1872) 2018-07-17 15:25:56 -04:00
Anna Wu
53899a1aea update docs on how to deploy project to surge.sh (#1864)
pretty straightforward!
2018-07-17 15:25:56 -04:00
Tobias Bieniek
f02e0e8b89 docs(guide): Fix typo (#1847) 2018-07-17 15:25:56 -04:00
Tobias Bieniek
03501edb79 docs: guide/installation: Fix typo (#1848) 2018-07-17 15:25:56 -04:00
Tobias Bieniek
9b75658eb0 docs: guide/html-and-static-assets: Fix typos (#1849) 2018-07-17 15:25:56 -04:00
Evan You
a7d69dd584 docs: mention browserslist may be in separate file [ci skip] 2018-07-17 15:06:32 -04:00
Alexander Sokolov
c4917faa00 docs: Update build-targets.md (#1853) 2018-07-14 15:03:48 +02:00
Guillaume Chau
eda4ce8839 refactor(ui): use package.json 'vuePlugins.ui' option 2018-07-13 18:06:37 +02:00
Guillaume Chau
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Guillaume Chau
d212dcd63e feat: package.json: vuePlugins.resolveFrom option, closes #1815 2018-07-13 17:04:11 +02:00
Guillaume Chau
0b66a7570a fix: set minimum node version (from mini-css-extract) 2018-07-13 16:39:57 +02:00
Guillaume Chau
2a5d32160f docs: structure rework [ci skip] 2018-07-13 16:39:43 +02:00
Guillaume Chau
33b852f7a8 docs: fix tip [ci skip] 2018-07-12 00:36:17 +02:00
Ray Foss
62e2868007 docs: Include Tip about computed env vars (#1780)
* Include tip about computed env vars

I'm personally using this frivolously in my own footer
```
// vue.config.js
const revision = require('child_process').execSync('git rev-parse HEAD').toString().trim()
const pjson = require('./package.json')

process.env.VUE_APP_COMMIT = `"${revision}"`
process.env.VUE_APP_VERSION = `"${pjson.version}"`
module.exports = {}
```

```
<template>
  <footer>
      <span>v{{ version }} ({{ commit }})</span>
  </footer>
</template>

<script>
export default {
  data: function () {
    return {
      version: process.env.VUE_APP_VERSION,
      commit: process.env.VUE_APP_COMMIT
    }
  }
}
```

# Validation
 - I'm using this.
 - The inline require doesn't cause lint issues on vue-cli v3 config files. I did a full builds to check.

* tip format match

* tip format

* tip, format

* markdown formatting conflicts with es6 templates

Also, quotes, optional now. interesting. I tried it.

* remove template stray

* filenames are not proper english grammar, yet
2018-07-11 01:28:04 +02:00
Dave Dane Pacilan
24570dc4c5 docs: Add Firebase deployment guide (#1760) 2018-07-05 09:14:51 +02:00
Tim Wisniewski
226291c1e9 docs: add entry argument to serve command (#1724)
This argument is present in the help text but not in the docs.
2018-07-04 13:19:12 +02:00
Raphael Miedl
b9f38f417e Wording change in the cli-service guide
Change `update-to-date` to `up-to-date`. It sounded weird to me and doesn't appear in the dictionary: https://www.merriam-webster.com/dictionary/update-to-date
2018-07-02 20:30:54 +02:00
Evan You
2eabc1494b chore: add bit sponsor placement 2018-07-01 10:31:22 -04:00
Evan You
3994dac47c docs: remove unnecessary line in example [ci skip] 2018-06-14 09:51:42 -04:00
deangoku
186232ff45 docs: fix webpack-chain example (#1565) 2018-06-14 10:31:04 +02:00
Evan You
25c7e69ad3 docs: grammar tweaks [ci skip] 2018-06-13 16:43:35 -04:00
Evan You
fe936f3dfa docs: document new features 2018-06-13 14:48:06 -04:00
Utwo
9d1bfc5c29 docs: update deployment.md (#1558) [ci skip] 2018-06-13 10:46:28 -04:00