1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Update style.md

缺少“from”
This commit is contained in:
Fifthwolf 2017-08-19 17:31:57 +08:00 committed by GitHub
parent a188e963f6
commit ba4a7da76a

View File

@ -442,7 +442,7 @@ export default Breadcrumbs;
```javascript
// bad
import * as myObject './importModule';
import * as myObject from './importModule';
// good
import myObject from './importModule';