摘要:
1. 按需引入 借助 babel-plugin-component,我们可以只引入需要的组件,以达到减小项目体积的目的。 首先,安装 babel-plugin-component: npm install babel-plugin-component -D2.在项目的src文件夹下新建.babelr 阅读全文
posted @ 2020-02-27 16:00
攀仔博客
阅读(7060)
评论(0)
推荐(0)
浙公网安备 33010602011771号