New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,使用omi-mp编译报错 #397
Comments
编译出的 index.js贴出来了看下 |
谢谢,现在木有这个错了。 |
看上去是图片没有 copy 到 src 内部 |
有啊,我检查了小程序内的所有的img都copy进去了的 |
那么你的 import 的路径写得有问题,不要写绝对路径。要写成 ../ 或者 ./ 开头的 |
是的,大佬。解决了! |
h5 不支持吧?需要自己修改 src/mp 下的源码扩展下 |
怎么扩展的,不懂啊,求指点,或者有木有别的实现方法
|
we-recordDetail 要改成小写 we-recorddetail |
Failed to compile
./src/mp/pages/index/index.js
Syntax error: C:/Users/no1/my-app/src/mp/pages/index/index.js: Unexpected token (174:0)
172 | customElements.define('we-index', Element)
173 |
The text was updated successfully, but these errors were encountered: