标签:import efault div 模块化 let color 导入 span 规范
CommonJs写法规范 moudel.export = {}//导出 let util = require(‘./util.js‘) ES6 export var a = 10 export var b = 10 export var c = 10 export default {} import {a,b,c} from ‘./util.js‘ import util from ‘./util.js‘
CommonJs写法规范 moudel.export = {}//导出 let util = require(‘./util.js‘) ES6 export var a = 10 export var b = 10 export var c = 10 export default {} import {a,b,c} from ‘./util.js‘ import util from ‘./util.js‘
标签:import efault div 模块化 let color 导入 span 规范
原文地址:https://www.cnblogs.com/javascript9527/p/12590461.html