如何构建GWT独立脱机应用程序? [英] How to build GWT standalone offline application?

查看:124
本文介绍了如何构建GWT独立脱机应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用GWT技术来设计SPA,但我不清楚如何制作(编译)只有一页的JavaScript代码。

所以,例如我的任务是用button和div制作简单的页面。你点击按钮,div出现在页面上。简单。
当我在GWT上完成这项工作时,我无法找到一种方法在简单的index.html中使用所有JS代码(或者在一个.js文件中)编译此页面。网页应该在离线模式下工作。

解决方案

b $ b http://www.slideshare.net/ tom.peck /正在脱机 - 与齿轮和gwt


I need to design SPA with GWT technology, but I do not understand clearly how to make (compile) only one page with all JavaScript code in it.

So, for example my task is to make simple page with button and div. You click on button and div appears on page. Simple. When I did this on GWT, I can not find a way to compile this page in simple index.html with all JS code inside (or in one .js file). Page should work in offline mode.

解决方案

Try Gears with GWT from google here the specs: http://www.slideshare.net/tom.peck/going-offline-with-gears-and-gwt

这篇关于如何构建GWT独立脱机应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆