K-walker
K-walker
> > > > 您好,我有个关于UI打包库的配置问题想请教下,我用的官方的`taro-ui-sample`这个库来开发自己的组件,但是我开启了 `css module ` 在打包`weapp`组件的时候 > > > > > > > > > https://nervjs.github.io/taro/docs/css-modules.html#docsNav 有配置相关内容吗 > > > > > >  > > 已经配置过了,H5打包是可以的,就是weapp不行...
@yinLiangDream 对了,还有个问题,我再打包编译小程序的时候会提示下面这个错误:  请问是啥原因呢
> @K-walker 删掉 node_modules 使用 yarn 安装依赖,顺便把项目地址发给我,我看看上一个问题 [演示项目](https://github.com/K-walker/taro-ui-sample.git) 这个就是打包UI库的项目,我开启 css module 打包会报错,麻烦帮忙看看,谢谢
> @K-walker 我找到源码发现是 @tarojs/cli 这个库的拷贝文件逻辑有问题,你可以在 Taro 官方提一个 issue https://github.com/NervJS/taro/issues > 好的,不过,我还有个问题,就是上面说的,打包后的小程序组件还是 .tsx 文件,我已经使用 yarn 重新安装了依赖,.tsx 文件的组件,在小程序中编译就会报这个错:  请问下,您写的那个 mp-colorui 没有出现这个问题吗? 我Taro 版本 1.3.23
泪目,与君相比,我要学的还很多!一起加油!
@changan29 说实话,没明白你什么意思,能说的详细点吗