【问题标题】:I would like to run and debug the polymer-tutorial in the DartEditor我想在 DartEditor 中运行和调试聚合物教程
【发布时间】:2014-10-30 16:42:30
【问题描述】:

我想在 DartEditor 中运行和调试聚合物教程 (https://www.polymer-project.org/docs/start/getting-the-code.html),但代码未设置为这样做。我是 DartEditor 和 Polymere 的初学者。有人可以帮助或提供一个 git 存储库吗?我没有太多运气让它工作 谢谢J

【问题讨论】:

    标签: dart dart-polymer dart-editor


    【解决方案1】:

    幸运的是,我最近将该教程移植到了 Dart。在这个 Github 存储库中,您将找到启动文件和一系列 HTML 文件,其中详细说明了完成它所采取的步骤。与原教程略有改动,但非常接近。

    https://github.com/montyr75/polymer_social_media_tutorial

    【讨论】:

    • 太棒了 - 当我运行它时,我得到一个空白页面。我怀疑这是完成教程之前的开始阶段 - 对吧?
    • 如果有人感兴趣,我添加了一个 github 存储库,该存储库将为教程的每个步骤提供一个提交:github.com/ride4sun/polymer_social_media_tutorial 上面提到的 github 是起点。
    • 没错。开始的状态大多是空白的,一旦你完成了这些步骤,就会看到一些东西。
    【解决方案2】:

    您链接到的存储库是 Polymer.js 代码(用于 JavaScript 的 js),DartEditor 用于 Dart,您在 DartEditor 中无法使用此代码。

    【讨论】:

    • 不知何故,我认为 Dart 和 Polymer 像 C# 和 WPF 一样连接在一起。谢谢你的澄清。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-09
    • 1970-01-01
    相关资源
    最近更新 更多