Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
36388de8
Commit
36388de8
authored
Sep 19, 2016
by
Leopoldthecoder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update contributing guide
parent
2921498b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
.github/CONTRIBUTING.md
.github/CONTRIBUTING.md
+7
-7
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
+1
-1
examples/pages/component.vue
examples/pages/component.vue
+4
-3
examples/pages/guide.vue
examples/pages/guide.vue
+0
-1
No files found.
.github/CONTRIBUTING.md
View file @
36388de8
# Element Contributing Guide
Hi! 首先感谢你使用 Element UI。这是
一个为开发者、设计师和产品经理准备的一套能让你快速搭建页面的基于 Vue 2.0 的组件库,同时我们还提供了相关设计资源供设计师使用。如果你考虑为 Element 贡献代码的话,请确保
阅读下面内容。
Hi! 首先感谢你使用 Element UI。这是
为开发者、设计师和产品经理准备的一套能让你快速搭建页面的基于 Vue 2.0 的组件库,同时我们还提供了相关设计资源供设计师使用。如果你考虑为 Element 贡献代码,请
阅读下面内容。
## Issue 规范
-
issue 仅仅用来提交 Bug 或 Feature 以及设计相关的内容。如果只是简单的问题,请到 Slack 或
[
Gitter
](
https://gitter.im/ElemeFE/element
)
里咨询,
并且我们会
直接关掉。
-
issue 仅仅用来提交 Bug 或 Feature 以及设计相关的内容。如果只是简单的问题,请到 Slack 或
[
Gitter
](
https://gitter.im/ElemeFE/element
)
里咨询,
相关 issue 会被
直接关掉。
-
提交 issue 前请搜索
下是否有同样的问题已经
被 fix 或者回复过了。
-
提交 issue 前请搜索
是否已经有同样的问题
被 fix 或者回复过了。
-
请确保指明了 Element、Vue 的版本号,以及操作系统和浏览器的版本,最好能提供在线演示的链接。
...
...
@@ -18,11 +18,11 @@ Hi! 首先感谢你使用 Element UI。这是一个为开发者、设计师和
-
执行
`npm run dist`
后可以正确打包文件。
-
为了兼容
和
最终打包的文件体积考虑,我们的 babel 只引入了
`preset-2015`
,所以不建议使用 ES2015 的 API,例如
`Array.prototype.find`
、
`Object.assign`
等。如果有需要,请引入第三方的 polyfill。
-
为了兼容
性以及
最终打包的文件体积考虑,我们的 babel 只引入了
`preset-2015`
,所以不建议使用 ES2015 的 API,例如
`Array.prototype.find`
、
`Object.assign`
等。如果有需要,请引入第三方的 polyfill。
-
如果是修复 bug,请
给出描述信息在 PR 里
。
-
如果是修复 bug,请
在 PR 中给出描述信息
。
-
合并代码需要两名维护人员参与:一人进行 review 后
留言 lgtm
,另一人再次 review,通过后即可合并。
-
合并代码需要两名维护人员参与:一人进行 review 后
approve
,另一人再次 review,通过后即可合并。
## 开发环境搭建
首先你需要 Node.js 4+ 和 NPM 3+
...
...
@@ -48,4 +48,4 @@ npm run dist
```
## 代码规范
遵循
lint
即可
遵循
饿了么前端的
[
ESLint
](
https://github.com/ElemeFE/eslint-config-elemefe
)
即可
.github/ISSUE_TEMPLATE.md
View file @
36388de8
...
...
@@ -2,7 +2,7 @@
Thank you for contributing! Please carefully read the following before opening your issue.
-->
### Element version
### Element
UI
version
<!-- 1.0.0-rc.2 -->
### OS/Browers version
...
...
examples/pages/component.vue
View file @
36388de8
...
...
@@ -23,14 +23,15 @@
}
th
{
text-align
:
left
;
border-top
:
1px
solid
#eaeefb
;
background-color
:
#EFF2F7
;
}
td
,
th
{
border-bottom
:
1px
solid
#eaeefb
;
padding
:
10px
0
;
}
th
{
border-top
:
1px
solid
#eaeefb
;
background-color
:
#EFF2F7
;
th
:first-child
,
td
:first-child
{
padding-left
:
10px
;
}
}
}
...
...
examples/pages/guide.vue
View file @
36388de8
...
...
@@ -4,7 +4,6 @@
.content
{
padding-left
:
25px
;
border-left
:
1px
solid
#eaeefa
;
margin-left
:
-1px
;
h3
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment