我的代码:
<!DOCTYPE html>
<html lang="br">
<head>
<meta charset="utf-8">
<title>My Project</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="assets/css/lungo.css">
<link rel="stylesheet" href="assets/css/lungo.theme.css">
<link rel="stylesheet" href="assets/css/lungo.icon.css">
</head>
<body>
<section id="main">
<article id="main-article">
Your content
</article>
</section>
<script src="assets/js/quojs/quo.js"></script>
<script src="assets/js/lungo/lungo.js"></script>
<script>
Lungo.init({
name: 'My Project',
version: '0.0.1',
history: false
});
</script>
</body>
</html>
错误(Chrome):http://prntscr.com/674lv0
错误(Firefox):http://prntscr.com/674pvr
结果:全屏黑色
我做错了什么?我在这里采用了这个例子https://github.com/tapquo/Lungo.js/blob/master/README.md
已经在其他浏览器中测试过,但都会出错。
答案 0 :(得分:1)
也试试这个版本的lungo。它对我有用。
http://lungo.tapquo.com/microsites/lungo/package/quo.js http://lungo.tapquo.com/microsites/lungo/package/lungo.js