Nicer Perusal Method

    vue-cli-plugin-admin-element

    0.0.1 • Public • Published

    vue-cli-plugin-admin-element

    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.

    Install

    npm i vue-cli-plugin-admin-element

    DownloadsWeekly Downloads

    310

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.87 kB

    Total Files

    6

    Last publish

    Collaborators

    • aprilfall