mirror of https://github.com/ElemeFE/element
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-USpull/4107/head
parent
1be50df7e5
commit
470280e367
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue