Sproutcore 主题不起作用

发布于 2024-11-18 23:28:22 字数 383 浏览 6 评论 0原文

我正在关注 http://guides.sproutcore.com/theming_app.html#styling -a-button 了解如何在 SC 中创建主题。我确实将红色图像复制到资源文件夹并将其复制

$theme.button { /* their code */}

到 resources/button.css,然后重新加载我的应用程序,因为他们说主题现在应该可以工作。但它没有按预期工作。在命令提示符下可以看到一些日志记录活动。请指出如何应用主题。我对 ruby​​ 语言不太确定。

I'm following http://guides.sproutcore.com/theming_app.html#styling-a-button to know about creating themes in SC. I did copy the red color images to the resources folder and copied the

$theme.button { /* their code */}

to resources/button.css, and reloaded my app, as they said theme should be working now. But it is not working as expected. In command prompt able to see some logging activities. Please point me how to apply a theme. I am not much sure of the ruby language.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野鹿林 2024-11-25 23:28:22

删除“tmp”目录,然后重新启动 sc-server

Delete your 'tmp' directory and then restart sc-server

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文