Google CodeLabs应用程序外壳中未找到Index.html / index.php [英] Index.html/index.php not found in Google CodeLabs app shell

查看:203
本文介绍了Google CodeLabs应用程序外壳中未找到Index.html / index.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Google的web应用程序Shell感兴趣。我已经下载了它的GitHub。但是我发现整个代码中没有index.html / index.php文件。我主要发现的是许可证文件,app.yaml文件和app.js文件。链接到该页面,请此处
我听说,我可以通过使用终端在我的网站托管站点安装项目。但终端不适合我的情况。我已停止使用Firebase,因为我必须拥有终端。那么,有没有其他想法在我的网站上安装该项目?
我可以有一个平面文件,这样我就可以简单地将html,css,JavaScript和其他媒体文件放到我的服务器上吗?

I was interested on on Google's web app-Shell. I've downloaded it GitHub. But I found that there is no index.html/index.php file in the whole code. All I mainly found, is the licence file, app.yaml file and app.js file. Link to that page, is here. I heard,that I can install the project in my web hosting site, by using terminal. But terminal is not an option for my situation. I've stopped using Firebase, because I must have terminal for it. So, is there any other idea to install the project in my website? Can I have a flat file, so that I could simply past the html,css, JavaScript and other media files into my server?

推荐答案

不幸的是,Google web app-Shell并没有被设计为具有 index.html 文件。有一个视图文件夹,其中包含您要查找的内容 https:/ /github.com/GoogleChromeLabs/application-shell/tree/master/server/views

Unfortunately the Google web app-Shell isn't designed to have an index.html file. There is a views folder that has what you're looking for https://github.com/GoogleChromeLabs/application-shell/tree/master/server/views.

我们可以看到他们正在使用把手作为模板系统。例如,如果我们查看 https:/ /github.com/GoogleChromeLabs/application-shell/blob/master/server/views/layouts/default.handlebars ,我们可以看到它们有 {{> open-page}} {{{body}}} 。如果我们查看句柄文档,这些部分将呈现为其他视图。

As we can see they're using handlebars for as a templating system. For example, if we look at https://github.com/GoogleChromeLabs/application-shell/blob/master/server/views/layouts/default.handlebars we can see that they have {{> open-page}} and {{{body}}}. If we look at handlebars documentation these partials are rendered into other views.

基本上,我们可以指出没有一个 index.html ,但我们可以通过浏览它们的视图来重建应用程序。

Essentially, there isn't a single index.html we can point to, but we can reconstruct the app by exploring their views.

这篇关于Google CodeLabs应用程序外壳中未找到Index.html / index.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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