1.1.1 • Published 3 years ago

cyt-ui v1.1.1

Weekly downloads
9
License
MIT
Repository
-
Last release
3 years ago

A Vue.js 2.0 UI Toolkit for Web.

Element will stay with Vue 2.x

For Vue 3.0, we recommend using Element Plus from the same team

Links

Install

npm install element-ui -S

Quick Start

import Vue from 'vue'
import Element from 'element-ui'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from 'element-ui'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

For more information, please refer to Quick Start in our documentation.

Browser Support

Modern browsers and Internet Explorer 10+.

Development

Skip this part if you just want to use Element.

For those who are interested in contributing to Element, please refer to our contributing guide (中文 | English | Español | Français) to see how to run this project.

Changelog

Detailed changes for each release are documented in the release notes.

FAQ

We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.

Contribution

Please make sure to read the contributing guide (中文 | English | Español | Français) before making a pull request.

Special Thanks

English documentation is brought to you by SwiftGG Translation Team:

Spanish documentation is made possible by these community developers:

French documentation is made possible by these community developers:

Join Discussion Group

Scan the QR code using Dingtalk App to join in discussion group :

LICENSE

MIT

开发环境搭建 首先你需要 Node.js 4+,yarn 和 npm 3+。注意:我们使用 yarn 进行依赖版本的锁定,所以请不要使用 npm install 安装依赖。

git clone git@github.com:ElemeFE/element.git npm run dev

open http://localhost:8085

组件预览环境

提示:可以运行 npm run dev:play,修改 examples/play/index.vue 文件,调用你修改后的组件,仍然访问 http://localhost:8085,查看修改效果,更快更方便。

部署开放平台

npm run deploy:build 生成examples/element-ui静态文件,nginx上指向examples/element-ui 默认访问examples/element-ui/index.html

打包代码:

npm run dist