是否可以直接从浏览器加载 HAML 视图?
问这个问题似乎有点傻,但有一些背景知识:
我是一名设计师,刚刚在最后一刻加入 Rails 项目——除了本周学到的知识之外,我几乎对 Rails 没有任何了解,即使这样也真的很糟糕。苗条的。我的项目的字面范围是在视图中,所以我不需要太多。
我的经验 100% 仅限于纯静态 html/css/js 或 wordpress/表达式引擎项目,所以我通常不会深入研究。
也就是说,我的很多前端工作甚至都没有在后端设计,所以我无法通过本地实时版本导航来访问它。有没有办法可以通过 url 手动加载它?
This seems a little silly to ask but some background:
I'm a designer who just got added last minute to a rails project— I pretty much have no knowledge of rails other than what I've learned this week, and even that is REALLY slim. The literal extent to my project is in the views, so it's not like I need too much.
100% of my experience is limited to purely static html/css/js or wordpress/expression engine projects, so I don't go this deep usually.
That said, a lot of my front end work hasn't even been designed in the backend, so I can't access it from navigating it on the live version locally. Is there a way that I can manually load this via url?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为您生成 .html 文件。
Generates the .html file for you.