如何解决如何在 odoo 上使用 scss @import 规则?
我正在尝试对我的样式使用 @import 规则,以便我可以更有效地管理它们,但不幸的是它不起作用。我收到以下错误。问题是我在许多 odoo 主题中看到人们使用它。那么,缺少什么?如果您知道解决方案,我将不胜感激。
Style error
The style compilation Failed,see the error below. Your recent actions may be the cause,please try reverting the changes you made.
Local import './main' is forbidden for security reasons. Please remove all @import {your_file} imports in your custom files. In odoo you have to import all files in the assets,and not through the @import statement.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。