Using an App Preset

When starting a new Vue application we have to ability to provide a Application Preset template. This will bootstrap your Application with some predefined settings.

You can use the generated preset by creating a file in your ~ folder called .vuerc with the following content.

{
  "useTaobaoRegistry": false,
  "latestVersion": "4.0.5",
  "lastChecked": 1572461908029,
  "packageManager": "yarn",
  "presets": {
    "listen360-base": {
      "useConfigFiles": true,
      "plugins": {
        "@vue/cli-plugin-babel": {},
        "@vue/cli-plugin-router": {
          "historyMode": true
        },
        "@vue/cli-plugin-vuex": {},
        "@vue/cli-plugin-eslint": {
          "config": "prettier",
          "lintOn": [
            "save",
            "commit"
          ]
        },
        "@vue/cli-plugin-unit-jest": {},
        "@vue/cli-plugin-e2e-cypress": {}
      }
    }
  }
}

You can then use your preset on the command line as follows:

vue create -p listen360-base <app_name>

Using vue-cli

Todo: Fill me in

Vanilla Javascript

Todo: Fill me in