为什么在meteor
中如果您在身体上写下任何类型的事件或属性,例如style=""
或onload
,则会出现错误
While Building the application:
client/html/root/yourapp.html:22: Attributes on <body> not supported
如果是因为任何安全问题涉及什么安全问题?,如果没有关于安全性,为什么它的流星迫使开发人员保持<body>
标签干净。
以前的研究: How Do I Add CSS Class to body Element in Meteor?不解释为什么不允许。