【js】import和export的搭配用法

    科技2022-08-01  132

    1. export default xxx import 自定义名字 from '...' 2. export const xxx = ... export const yyy = ... 或者 const xxx = ... const yyy = ... export {xxx,yyy} import * as 自定义名字 from '...' 自定义名字.xxx 或者 import {xxx,yyy} from '...'
    Processed: 0.012, SQL: 9