-
Notifications
You must be signed in to change notification settings - Fork 557
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
app.js中Index组件的引入问题 #44
Labels
Comments
此处代码是模板生成的,后面一直没有改到,实际是有问题的。 “在 App 类中的 render() 函数没有实际作用”,taro 编译时会对 render 函数内容进行替换,所以这个地方的内容实际不会用到,然后打包时有 tree shaking,所以没报错... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问app.js中的import Index from './pages/index' 的index文件在pages里面看不到,为什么可以引入呢?是怎么处理的啊?
The text was updated successfully, but these errors were encountered: