Code Monkey home page Code Monkey logo

element-plus-interactive-docs's Introduction


Element Plus - A Vue.js 3 UI library

  • 💪 Vue 3 Composition API
  • 🔥 Written in TypeScript

Getting Started

Alright, for you to get started if you are looking for making Element Plus better you should keep reading. For developers that uses Element Plus to develop your website you should go ahead visit Getting Started.

Breaking change list

The first stable release of Element Plus suitable for use in production was released on February 07, 2022. The APIs is stable right now, and here's also a full list about how to get upgraded from Element UI to Element Plus.

You can find the breaking change list here: Breaking Change List.

Migration Tool 🛠️

We have made a migration tool for you to migrate your project from Element UI to Element Plus.

You can find the gogo code migration tool here.

We have tested this on Vue Element Admin. You can find the transpiled code here.

Playground

You can also try Element Plus out with the components built-in playground.

Try it with our built-in playground

Playground

Try it with code sandbox

Edit element-plus

Special thanks to the generous sponsorship by:


Platinum Sponsors

Gold Sponsors


Translations

Element Plus is translated to multiple languages, you can click the badge to help up update the translation or apply to become a proofreader Crowdin

For now we are only showing English and Chinese for resource reasons, but we are looking forward to translate it into more languages, please go to the link above and leave a message if you want to help translating Element Plus into your desired language.

How to help translating

See how to help translating in Translating Element Plus.

Stay tuned 👀

Join our Discord to start communicating with everybody.

This thing is broken, I should help improve it!

Awesommmmmmee. Everything you need is down below. You can also refer to CONTRIBUTING and Code of Conduct where you'll find the same information listed below.

I would like to become a part of the development team!

Welcome 🤩! We are looking for talented developers to join us and making Element Plus better! If you care to join the development team, please reach out to us, you are more than welcomed to join us! ❤️

We are now lacking of experts of Testing, GitHub Actions, PM, if you do feel like you can and willing to help us, please do reach out to us. 🙏

Contributors

This project exists thanks to all the people who contribute.

And thank you to all our backers! 🙏

License

Element Plus is open source software licensed as MIT.

element-plus-interactive-docs's People

Contributors

acyza avatar adoer avatar akinocccc avatar alexzhang1030 avatar alkaidcc avatar allblueee avatar beiranc avatar btbman avatar c0dedance avatar cullyfung avatar cunzhiwang avatar faga295 avatar flippedround avatar handsome-yangshao avatar idestin avatar priority3 avatar pzzyf avatar sechi747 avatar sroxck avatar sudongyuer avatar sxzz avatar waynzh avatar wincheshe avatar yancyqi2002 avatar yang1206 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

element-plus-interactive-docs's Issues

element-plus-interactive-docs贡献指南

element-plus-interactive-docs贡献指南

一、认领任务

请先前往element-plus-histoire文档计划 认领任务,认领任务时请在评论中提供您认领的组件名和预计时间。

eg:

认领`button`组件,预计完成时间为`xxxx-xx-xx`

二、编写文档

使用命令脚本创建模版

pnpm run create

Histoire文档地址

vue3文档
API
Histoire组件

三、提交PR

1. fork项目

请将仓库 fork 至个人空间后再 clone 至本地,官方仓库有权限限制,无法直接提交PR。

2. clone项目

git clone https://github.com/${USER}/element-plus-docs-histoire.git // clone项目 ${USER}为您的用户名

3. 同步代码

// 仅在第一次同步代码时需要执行
git remote add upstream https://github.com/element-plus/element-plus-docs-histoire.git  // 添加上游仓库
git remote -v // 查看远程仓库

在每次提交本地代码前,建议都从上游仓库同步最新代码,否则你可能要额外处理很多冲突。

这样你可以直接在本地通过如下方式将 upstream 官方仓库的改动同步到本地:

git fetch upstream // 获取上游仓库的改动
git rebase upstream/master // 将上游仓库的改动同步到本地

4. 创建分支

在同步官方仓库代码后,请从 master 分支创建新的 feat/fix 分支:

git checkout master // 切换到 master 分支
git checkout -b feat/xxx // 创建新的 feat/fix 分支

5. 提交代码

在本地完成代码修改后,可以通过如下方式将代码提交到远程仓库:

git add . // 将本地代码提交到暂存区
git commit -m 'feat: xxx' // 将暂存区的代码提交到本地仓库并添加提交信息
git push origin feat/xxx // 将本地仓库的代码提交到远程仓库

6. 提交PR

提交代码后你个人的 forked 的仓库主页会出现提示是否发起合并
image
确认提交内容无误后可以点击 “ Create pull request ” 按钮
image

7.预览页面

在发起PR后,可以点击此处预览页面
image

[WIP] element-plus-interactive-docs

说明

为共同完成使用Histoire为element-plus搭建文档

任何人都可以处理此问题。
请务必在您的 pull request 中引用此问题。 ✨
感谢您的贡献! ✨

  1. 参与贡献请在此 issue 中通过评论领取的组件
  2. 评论需提供认领的组件和预计完成的时间
  3. 未按时提交,会重新打开认领

Description

For common completion of building documentation for element-plus using Histoire

This issue can be handled by anyone.
Please be sure to reference this issue in your pull request. ✨
Thank you for your contribution! ✨

  1. To participate in the contribution, please comment on the component claimed in this issue
  2. Comments should provide the component claimed and the estimated time of completion
  3. Failure to submit on time will reopen the component

Components

Basic

Configuration

  • Config Provider #96

Form

Data

Navigation

Feedback

Others

[RFC] 建议自动化初始化组件流程

痛点分析

  1. 组件规范靠大家自觉遵守

    默认是src/components/下组件类型文件夹进行归类,组件文档小驼峰,以.story.vue结尾

  2. 手动归类建文件夹可能会混乱

  3. 手动建文件不够优雅

提议改进

命令生成

文档复制组件名粘贴至命令行
image

# 创建单个组件文档
pnpm run create Button
# 创建多个组件文档
pnpm run create DatePicker InputNumber

datePicker.story.vue创建成功!
path:D:/Desktop/code/fork/element-plus-docs-histoire/src/components/Form/datePicker.story.vue
inputNumber.story.vue创建成功!
path:D:/Desktop/code/fork/element-plus-docs-histoire/src/components/Form/inputNumber.story.vue

命令行交互生成

image
image

button.story.vue已存在!
color.story.vue创建成功!
path:D:/Desktop/code/fork/element-plus-docs-histoire/src/components/Basic/color.story.vue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.