vuejs/v2.cn.vuejs.org

typescript 中 条件编译 报错

kvchen95 opened this issue · 0 comments

模块的引入就会报错,如下
// # ifdef MP-BAIDU
import a from 'mp-baidu'
// # endif

// # ifdef MP-TOUTIAO
import a from 'mp-baidu'
// # endif