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

娜娜奇发展路线图 #402

Open
RubyLouvre opened this issue Oct 17, 2018 · 7 comments
Open

娜娜奇发展路线图 #402

RubyLouvre opened this issue Oct 17, 2018 · 7 comments

Comments

@RubyLouvre
Copy link
Owner

RubyLouvre commented Oct 17, 2018

阶段1

支持4个平台的编译,
完成4个平台专用的React
API对象(wx, my, swan)都以wx为模板进行兼容化处理,远程请求API 都Promise化
提供强大的webview支持
提供登录,支付支持
sass, less转译支持,提交审核平台前的压缩处理

到此为止,实现一处代码,四处运行

阶段2

对个别频道提供webview编译与小程序编译两种方式 ,webview编译即对这个频道下的所有页面变成一个SPA,放在另一个服务器,通过webview加载
添加H5编译, 即生成H5 touch端代码
基于H5编译,添加SharedWorker, 实现PWA端
提供统一的JSJDK

由于微信小程序是提供一套组件库的,切换成H5,因此也会打造一套对应的组件库
编译器需要考虑做成一个webpack插件,利用社区的力量加快编译速度
完成一套单元测试工具
到此为止,实现一处代码,六处运行

阶段3

添加typescript支持与postcss支持
基于H5编译,通过hybird技术打包,生成跨ios, android的App端

到此为止,实现一处代码,八处运行

@haolee1990
Copy link

目前到阶段几了?

@RubyLouvre
Copy link
Owner Author

到阶段2

@ananiy
Copy link

ananiy commented Jan 11, 2019

ts支持多会上~

@RubyLouvre
Copy link
Owner Author

nanachi page ccc
创建一个pages/ccc/index.js模板
nanachi component Dogs
创建一个components/Dog/index.js模板

@zaaack
Copy link

zaaack commented Jan 14, 2019

求上 Typescript~

@phpsmarter
Copy link

现在提供 typescript支持吗?

@quqiufeng
Copy link

文档删除了吗

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

No branches or pull requests

6 participants