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
392325dd
Commit
392325dd
authored
Nov 13, 2016
by
杨奕
Committed by
GitHub
Nov 13, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1019 from QingWei-Li/doc/add-new-compo
Doc: add componet doc
parents
30d60669
d04c4ae1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
.github/CONTRIBUTING.md
.github/CONTRIBUTING.md
+5
-0
No files found.
.github/CONTRIBUTING.md
View file @
392325dd
...
...
@@ -55,5 +55,10 @@ To build:
npm run dist
```
## 组件开发规范
-
通过
`npm run new`
创建组件目录结构,包含测试代码、入口文件、cooking 配置、package.json、文档
-
如果包含父子组件,需要更改目录结构,参考
`Button`
-
组件内如果依赖了其他组件,需要在当前组件内引入,参考
`Select`
## 代码规范
遵循饿了么前端的
[
ESLint
](
https://github.com/ElemeFE/eslint-config-elemefe
)
即可
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