Skip to content

Quickly build an enterprise application with vue-cli and element-ui in seconds.

License

Notifications You must be signed in to change notification settings

codetrial/vue-cli-plugin-element

Repository files navigation

vue-cli-plugin-element

Version License Dependencies

Quickly build an enterprise application with vue-cli and element-ui in seconds.

This project is not only a vue-cli plugin but also a vue-cli preset. Have fun!

🇺🇸 English | 🇨🇳 简体中文

Example

A complete example project: ⚡ @codetrial/element-admin

Live Preview: 🔭 element-admin.now.sh

Screen Capture

Getting Started

Prerequisites

You must install Vue CLI 3 before you start:

npm install -g @vue/cli
# OR
yarn global add @vue/cli

Install

Preset

You can create your project directly via preset, which already includes configurations such as ESLint and other plugins.

vue create --preset codetrial/vue-cli-plugin-element your-awesome-project

Plugin

If you don't want to use the preset , you can manually create an empty project via vue-cli.

# make sure the following features are selected:
# - Babel
# - PWA
# - Router
# - Vuex
# - CSS Pre-processors + Sass
# - Linter - Formatter
vue create your-awesome-project

Then add the plugin to your project via vue.

vue add @codetrial/element

Docs

The full documentation: 📖 codetrial.github.io/element-admin

Core Features

  • 📷 Minimal dependencies
  • 📺 Project Structure
  • 📞 View Layout
  • 📟 Data Processing Layer
  • ⌚ Authorization
  • 📻 Error Pages
  • 🔎 List Example
  • 👻 Form Example

Contributing

Looking forward to your pull requests.

Built With

License

MIT

Copyright (c) 2018 - present, Felix Yang