Commit Graph

150 Commits

Author SHA1 Message Date
Guillaume Chau
fd309b9031 Merge remote-tracking branch 'origin/docs' into docs 2018-07-14 15:04:39 +02:00
Alexander Sokolov
c4917faa00 docs: Update build-targets.md (#1853) 2018-07-14 15:03:48 +02:00
Alexander Sokolov
63ff8c1b4b docs: use relative links (#1844) 2018-07-13 17:56:29 -04: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
Thorsten Lünborg
47fb3b8189 docs(css.extract): Explain "always-off" in development mode (#1840) [ci skip]
closes #1801
2018-07-13 16:40:26 +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
Matt Thomas
fdb51e1347 docs: fix title level (#1818)
* Update README.md

* Add warning about modern mode not working when the html-webpack-plugin is disabled

* Fix typo

Corrects the header level of the final section
2018-07-11 23:02:08 +02:00
Matt Thomas
c6b06ec748 docs: Add configuration examples section (#1779)
* Update README.md

* Add warning about modern mode not working when the html-webpack-plugin is disabled
2018-07-11 01:32:48 +02:00
posrix
67298808cd feat: pages support title option (#1619)
* pages support title option

* docs: pages `title` option
2018-07-11 01:29:30 +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
Alexandru Bucur
c93c639e81 docs: assetsDir is ignored when using custom filenames (#1757)
trying to cover #1753 with this explanation
2018-07-04 20:04:59 +02:00
Thorsten Lünborg
d5fc24f707 docs: Document lintOnSave: 'error' option (#1755)
* Document lintOnSave: 'error' option

fix #1719

* Missing dot
2018-07-04 17:42:52 +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
Thorsten Lünborg
a9aa3decf6 fix: underscore escaping for dotfiles (#1737)
* WIP: fix undersocre escaping for dotfiles 

(fix #1732)

* Fix charAt

* adding a short explanation to the docs.

* improved wording
2018-07-04 13:12:18 +02:00
Thorsten Lünborg
0bdc9e2bb6 Merge pull request #1733 from RaphaelAddile/patch-1
Wording change in the cli-service guide
2018-07-03 11:57:46 +02:00
Evan You
fa7ce2a26e chore: update sponsor 2018-07-02 18:39:42 -04: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
Guillaume Chau
7883da3dab docs(ui): use Reverse Domain Notation 2018-06-21 16:09:51 +02:00
Guillaume Chau
c2da5fcc71 feat(ui): improved IpcMessenger with new options 2018-06-21 13:50:06 +02:00
Guillaume Chau
eca54fc461 feat(ui): PluginApi: resolve + getProject 2018-06-20 16:12:09 +02: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
Guillaume Chau
0a2ea1fb02 feat(ui): devtools suggestion 2018-06-13 17:59:10 +02:00
Utwo
9d1bfc5c29 docs: update deployment.md (#1558) [ci skip] 2018-06-13 10:46:28 -04:00
Alex Rohleder
0b725f3fbf docs: fix typo (#1562) [ci skip] 2018-06-13 10:46:03 -04:00
kazuya kawaguchi
21ccd2fe1d docs: fix prompts API codes (#1557) 2018-06-13 11:24:42 +02:00
Alex Rohleder
6e690f355a docs: fix typo (#1556) 2018-06-13 11:07:40 +02:00
Guillaume Chau
cfd05557a9 docs(ui): suggestion screenshot 2018-06-11 16:54:59 +02:00
Meet Zaveri
57ff03b782 docs(ui): Typo ui-api.md (#1543)
Spelling mistake
2018-06-11 10:50:12 +02:00
Guillaume Chau
1f3dc547e8 docs(ui): suggestion + progress screen 2018-06-11 04:32:10 +02:00
Guillaume Chau
8ba6bcfe7b feat(ui): new hooks for plugins 2018-06-11 01:53:01 +02:00
Guillaume Chau
8fae98e7ce feat(ui): api.hasPlugin(id) 2018-06-11 00:42:53 +02:00
Pierre-Alexandre
9527dc86bd docs: provided the GitLab Pages platform guide (#1536) 2018-06-10 10:14:28 -04:00
Guillaume Chau
54ad175e08 docs(ui): refactor (#1535)
* docs(ui): refactor

* docs(ui): polish

* docs(ui): remove empty localization section
2018-06-10 15:46:49 +02:00
Guillaume Chau
e35ee2500d feat(ui): PluginApi: notify 2018-06-10 15:03:39 +02:00
Guillaume Chau
dbef5e9fed feat(ui): config improvements (#1487)
BREAKING CHANGES:

- The configuration API has changed.
- The `files` options now accept an object of different config files:

```js
api.describeConfig({
  /* ... */
  // All possible files for this config
  files: {
    // eslintrc.js
    eslint: {
      js: ['.eslintrc.js'],
      json: ['.eslintrc', '.eslintrc.json'],
      // Will read from `package.json`
      package: 'eslintConfig'
    },
    // vue.config.js
    vue: {
      js: ['vue.config.js']
    }
  },
})
```

- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument:

```js
api.describeConfig({
  onWrite: async ({ api, prompts }) => {
    const eslintData = {}
    const vueData = {}
    for (const prompt of prompts) {
      // eslintrc
      if (prompt.id.indexOf('vue/') === 0) {
        eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse)
      } else {
        // vue.config.js
        vueData[prompt.id] = await api.getAnswer(prompt.id)
      }
    }
    api.setData('eslint', eslintData)
    api.setData('vue', vueData)
  }
})
```

Other changes

- Config tabs (optional):

```js
api.describeConfig({
  /* ... */
  onRead: ({ data, cwd }) => ({
    tabs: [
      {
        id: 'tab1',
        label: 'My tab',
        // Optional
        icon: 'application_settings',
        prompts: [
          // Prompt objects
        ]
      },
      {
        id: 'tab2',
        label: 'My other tab',
        prompts: [
          // Prompt objects
        ]
      }
    ]
  })
})
```
2018-06-10 14:01:45 +02:00
ULIVZ
eb709ea887 docs: fix broken link (#1530) 2018-06-09 11:03:49 -04:00
PiEgg
dd39866cad docs: fix word error (#1517) 2018-06-08 11:25:54 +02:00
Evan You
486ca1805b docs: basic deployment notes 2018-06-08 00:48:34 -04:00
Evan You
445d96e0df chore: remove temp file 2018-06-08 00:11:46 -04:00
Evan You
fb97646ee5 docs: more content 2018-06-08 00:10:35 -04:00
Evan You
726aebdda5 docs: wip 2018-06-07 23:20:51 -04:00