Comments (5)
能详细说明一下吗? 或者 举个例子呢 😅
from alita.
from alita.
如果是小程序页面的话,可以在生成的小程序目录里面建立一个 pages目录,把相应的小程序代码放置在这里,直接使用小程序页面即可。
如果仅仅是组件,会有点麻烦,React层面代码怎么import是个问题?可能需要把小程序组件 包装一下, 参考第三方组件库扩展。 wx-react-native 目录下都是alita包装过的小程序组件,用来映射RN官方组件
from alita.
from alita.
V2.4 支持对小程序组件/小程序自定义组件库的直接使用了 详情
from alita.
Related Issues (20)
- Todo demo 引入第三方包后运行报错 HOT 6
- 编译后wx-dist内组件的路径有误 HOT 2
- 生成模板找不到 template not found HOT 8
- react native style 转为 css的原理是怎样的?
- 不支持transform HOT 1
- 请问有考虑支持React.createContext写法吗? HOT 2
- 重新思考小程序底层映射React组件的方式 HOT 1
- 惊雷 HOT 1
- 使用案例征集 HOT 2
- 一个成熟的RN项目,想全部转为微信小程序
- 不知道大佬有没有想过做个反向的,把微信小程序代码转成rn的 HOT 3
- RN的Button有问题? HOT 4
- 新建项目报错 HOT 1
- react-redux 引入失败
- 例子运行失败 HOT 5
- alita-ui 预计什么时候发布啊
- 请问 基于webpack构建这篇文章 提到的 redux-promise-nolodash 能提供下包么
- 想请问一下项目还会继续维护嘛? HOT 2
- 执行alita转化失败 HOT 2
- 您执行alita可以转化成功吗?有遇到过下面的报错吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alita.