Skip to content
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

双引擎融合方案实现 #32

Closed
6 tasks done
ChrisCindy opened this issue Nov 3, 2020 · 3 comments · Fixed by #33 or #42
Closed
6 tasks done

双引擎融合方案实现 #32

ChrisCindy opened this issue Nov 3, 2020 · 3 comments · Fixed by #33 or #42

Comments

@ChrisCindy
Copy link
Contributor

ChrisCindy commented Nov 3, 2020

GOAL: 支持在单一运行时项目中灵活配置使用编译时组件
USAGE: 用户在 src/miniapp-compiled 文件夹中放置且被使用到的组件全部使用编译时引擎编译
TODO:

  • babel 插件扫描,将 miniapp-compiled 文件夹内的组件识别为原生自定义组件
  • 接入编译时组件工程,编译 miniapp-compiled 文件夹内使用到的组件
  • 工程体验优化,自动进入产物文件夹进行 npm install
  • 编译时组件引入方式可以按照正常书写习惯,无需按照 usingComponents 的方式书写完整路径
  • babel 插件在每次文件变化编译时均重新扫描输出 props 和 events
  • miniapp-render 文件处理逻辑优化,支持直接安装依赖以覆盖默认配置
@imsobear
Copy link
Contributor

imsobear commented Nov 3, 2020

没看懂用户是怎么用的

@ChrisCindy
Copy link
Contributor Author

没看懂用户是怎么用的

我补充一下

@ChrisCindy
Copy link
Contributor Author

alibaba/ice#3766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants