2018年2月26日

parcel (另一个打包工具)知识点

摘要: ParcelJS 本身是 0 配置的,但 HTML、JS 和 CSS 分别是通过 posthtml、babel 和 postcss 处理的,所以我们得分别配 .posthtmlrc、.babelrc 和 .postcssrc。 问题:CSS模块没有起作用 解决: 1. 在项目中安装包:postcss 阅读全文

posted @ 2018-02-26 18:37 cag2050 阅读(341) 评论(0) 推荐(0) 编辑

导航