douban / rexxar-web Goto Github PK
View Code? Open in Web Editor NEWMobile Hybrid Framework Rexxar Web SDK
License: MIT License
Mobile Hybrid Framework Rexxar Web SDK
License: MIT License
It would be great to explain this in your README for better communication! :)
rexxar-iOS & Android 的页面必须由 rexxar-web 生成调用,还是可以使用其他web服务器的页面?
谢谢!
rexxar-web 的热更新是怎么做的? 完全自己实现的还是使用了类似CodePush的**仓库完成发布更新的?
我习惯了使用Vue开发,想通过Vue CLI进行开发,请问下可以吗?大致流程可以介绍一下吗;非常感谢
git拉去rexxar-web后执行
rexxar-web\example>npm i
rexxar-web\example>gulp serve
后报错
ERROR in ../lib/rexxarFetch.js
Module not found: Error: Cannot resolve module 'isomorphic-fetch' in C:\Users\Hello\Downloads\Rexxar\rexxar-web\lib
@ ../lib/rexxarFetch.js 8:23-50
webpack: Failed to compile.
打开后看到文件rexxarFetch.js
第8行是var _isomorphicFetch = require('isomorphic-fetch');
require的isomorphic-fetch找不到
然后我执行>npm install --save isomorphic-fetch es6-promise
close
一般来说 一个网页发布几个版本? h5一套 hybrid一套?
还是一个页面分不同环境进行?如果是这样的话,那么 网络请求:
不太明白 万求指导
来自 http://img3.doubanio.com/dae/rexxar/files/subject/subject-34a447e5c0.html
<script>
window.Rexxar = window.Rexxar || {};
window.Rexxar.Lifecycle = window.Rexxar.Lifecycle || {};
window.Rexxar.Lifecycle.onPageVisible = function() {};
window.Rexxar.Lifecycle.onPageInvisible = function() {};
</script>
下面的 VENDOR_START VENDOR_END 是在哪设置的呢?
<script>
if (!window.VENDOR_START) {
logSend('Vendor assets failed to load.');
var reloadBtn = document.createElement('div');
reloadBtn.style.fontSize = '14px';
reloadBtn.style.color = '#494949';
reloadBtn.style.margin = '12px';
reloadBtn.appendChild(document.createTextNode('点击重试'));
reloadBtn.addEventListener('click', function() {
window.location.reload();
});
showErrorMsg("资源加载失败啦 :(", reloadBtn);
} else if (window.VENDOR_START && !window.VENDOR_END) {
logSend('Vendor assets load incomplete.');
var reloadBtn = document.createElement('div');
reloadBtn.style.fontSize = '14px';
reloadBtn.style.color = '#494949';
reloadBtn.style.margin = '12px';
reloadBtn.appendChild(document.createTextNode('点击重试'));
reloadBtn.addEventListener('click', function() {
window.location.reload();
});
showErrorMsg("资源加载失败啦 :(", reloadBtn);
}
</script>
sorry,没有看到什么特殊的渠道可以参与讨论,所以在这里开一个issue
按你们的设计思路,假如A页面一个链接到了B页面,此时转场动画交给了native去做,A页面和B页面同时处于两个不同的webview中,如果B页面的某些状态发生了改变,需要通知到A页面做update,这种情况如何做同步
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.