mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Add make new English error message (#4089)
* Add make new English error message Currently, only Chinese error message is displayed when running make new command without arguments. * Update CONTRIBUTING.en-US
This commit is contained in:
committed by
cinwell.li
parent
1be50df7e5
commit
470280e367
2
.github/CONTRIBUTING.en-US.md
vendored
2
.github/CONTRIBUTING.en-US.md
vendored
@@ -60,7 +60,7 @@ npm run dist
|
||||
```
|
||||
|
||||
## Component Developing Guidelines
|
||||
- Run `make new` to create project directory for a new component. Test codes, entry file, cooking config, documentation and `package.json` are included.
|
||||
- Run `make new <component-name>` to create project directory for a new component. Test codes, entry file, cooking config, documentation and `package.json` are included.
|
||||
- Refer to `Button` for nested components.
|
||||
- Refer to `Select` for components that depend on other components.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ process.on('exit', () => {
|
||||
});
|
||||
|
||||
if (!process.argv[2]) {
|
||||
console.error('[组件名]必填.');
|
||||
console.error('[组件名]必填 - Please enter new component name');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user