Sproutcore 主题不起作用
我正在关注 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
删除“tmp”目录,然后重新启动 sc-server
Delete your 'tmp' directory and then restart sc-server