|
1 | 1 | # vue-cli-plugin-element |
2 | 2 |
|
3 | | -Quickly build a backend system with vue-cli and element-ui in seconds. |
| 3 | +[](https://www.npmjs.com/package/@codetrial/vue-cli-plugin-element) |
| 4 | +[](https://www.npmjs.com/package/@codetrial/vue-cli-plugin-element) |
| 5 | +[](https://www.npmjs.com/package/@codetrial/vue-cli-plugin-element) |
| 6 | + |
| 7 | +Quickly build a backend system with vue-cli and element-ui in seconds. |
| 8 | + |
| 9 | +This project is not only a vue-cli plugin but also a vue-cli preset. Have fun! |
| 10 | + |
| 11 | +:us: English | [:cn: 简体中文](README.zh-CN.md) |
| 12 | + |
| 13 | +## Getting Started |
| 14 | + |
| 15 | +### Prerequisites |
| 16 | + |
| 17 | +You must install Vue CLI 3 before you start: |
| 18 | + |
| 19 | +```bash |
| 20 | +npm install -g @vue/cli |
| 21 | +# OR |
| 22 | +yarn global add @vue/cli |
| 23 | +``` |
| 24 | + |
| 25 | +### Install |
| 26 | + |
| 27 | +You can create your project directly via preset, which already includes configurations such as ESLint and other plugins. |
| 28 | + |
| 29 | +```bash |
| 30 | +vue create --preset codetrial/vue-cli-plugin-element your-awesome-project |
| 31 | +``` |
| 32 | + |
| 33 | +If you don't want to use the preset , you can manually create an empty project via vue-cli. |
| 34 | + |
| 35 | +```bash |
| 36 | +# make sure the following features are selected: |
| 37 | +# - Babel |
| 38 | +# - PWA |
| 39 | +# - Router |
| 40 | +# - Vuex |
| 41 | +# - CSS Pre-processors |
| 42 | +# - Linter - Formatter |
| 43 | +vue create your-awesome-project |
| 44 | +``` |
| 45 | + |
| 46 | +Then add the plugin to your project via vue. |
| 47 | + |
| 48 | +```bash |
| 49 | +vue add @codetrial/element |
| 50 | +``` |
| 51 | + |
| 52 | +## Docs |
| 53 | + |
| 54 | +The full documentation: [:book: codetrial.github.io/element-admin](https://codetrial.github.io/element-admin) |
| 55 | + |
| 56 | +## Example |
| 57 | + |
| 58 | +A complete example project: [:zap: @codetrial/element-admin](https://github.com/codetrial/element-admin) |
| 59 | + |
| 60 | +Live Preview: [:telescope: element-admin.now.sh](https://element-admin.now.sh) |
| 61 | + |
| 62 | +## Core Features |
| 63 | + |
| 64 | +- :camera: Minimal dependencies |
| 65 | +- :tv: Project Structure |
| 66 | +- :telephone_receiver: View Layout |
| 67 | +- :pager: Data Processing Layer |
| 68 | +- :watch: Authorization |
| 69 | +- :radio: Error Pages |
| 70 | +- :mag_right: List Example |
| 71 | +- :ghost: Form Example |
| 72 | + |
| 73 | +## Contributing |
| 74 | + |
| 75 | +Looking forward to your pull requests. |
| 76 | + |
| 77 | +## Built With |
| 78 | + |
| 79 | +- [Vue.js](https://github.com/vuejs/vue) |
| 80 | +- [ElementUI](https://github.com/ElemeFE/element) |
| 81 | + |
| 82 | +## License |
| 83 | + |
| 84 | +[MIT](http://opensource.org/licenses/MIT) |
| 85 | + |
| 86 | +Copyright (c) 2018 - present, Felix Yang |
0 commit comments