vue-cli-plugin-dt

0.0.19 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i vue-cli-plugin-dt

Weekly Downloads

40

Version

0.0.19

License

MIT

Unpacked Size

7.08 kB

Total Files

19

Last publish

Collaborators

  • aprilfall