1. 导出文件使用export
    • 使用export=模块

    这种情况下,要使用Import xxx = require()

    • 使用export default

    这种情况下,使用Import xxx from ()