export/export default

ES导入导出模块
ES模块较为清晰,时常在项目中使用
- export栗子
1 | export function abc (a,b){ |
- export default栗子
1 | function abc (a,b){ |
- 本文标题:export/export default
- 本文作者:sonder
- 创建时间:2020-05-19 17:35:39
- 本文链接:https://sonderss.github.io/2020/05/19/export-default/
评论