在上面写属性或事件是不允许的

时间:2014-11-29 10:45:00

标签: meteor meteor-blaze

为什么在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?不解释为什么不允许。

https://github.com/meteor/meteor/issues/2561但是它的解释都没有。

0 个答案:

没有答案