vue-cli-plugin-dt

create a full admin project mainly based on element-ui

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-cli-plugin-dt
0.0.194 years ago4 years agoMinified + gzip package size for vue-cli-plugin-dt in KB

Readme

vue-cli-plugin-admin-element

This is a plugin for vue-cli@3, Which can generate a full project based on Elmenent-UI.

Usage

In a new project created by vue-cli@3:
vue add admin-element

or
Find your vue-cli preset in ~/.vuerc, add an preset like below:
{
  "packageManager": "npm",
  "useTaobaoRegistry": false,
  "presets": {
    "admin-element": {
      "useConfigFiles": true,
      "plugins": {
        "@vue/cli-plugin-babel": {},
        "@vue/cli-plugin-eslint": {
          "config": "standard",
          "lintOn": ["save"]
        },
        "@vue/cli-plugin-unit-jest": {}
      },
      "router": true,
      "vuex": true,
      "configs": {
        "vue": {}
      }
    }
  }
}

Run vue create newProject in terminal, select 'admin-element' preset.