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:
parent
a188e963f6
commit
ba4a7da76a
@ -442,7 +442,7 @@ export default Breadcrumbs;
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// bad
|
// bad
|
||||||
import * as myObject './importModule';
|
import * as myObject from './importModule';
|
||||||
|
|
||||||
// good
|
// good
|
||||||
import myObject from './importModule';
|
import myObject from './importModule';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user