Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚开始玩 Volt,在文档上查了一下,找不到答案:
我想在我的项目部分添加一个视口元标记,但我不知道如何更改它。
任何人都可以对这个问题有所了解吗?
是的,您可以更改 config/base/index.html 这现在会在较早的阶段呈现,因此您不能进行绑定。(现在渲染为 erb)我们有能力将模板渲染成字符串,所以计划是这样,所有的初始渲染过程都使用 volt 模板完成。我们只是还没有解决它:-)
好的,我在“config/base/index.html”(伏特 0.9.3)上找到了文件
把这个留在这里,以防其他人将来需要它=]