问题描述
我在styles/Containers.module.css中有类CommonContainer
.CommonContainer {
max-width: 1440px;
margin: 0 auto 72px auto;
padding-left: 80px;
padding-right: 80px;
}
然后我把它写到另一个班级
.topPostContainer {
composes: CommonContainer from "../../styles/Containers.module.css";
margin-top: 56px;
}
但是在 NextJS 构建“margin-top: 56px;”之后不使用 .topPostContainer 设置为组件 在 Safari 控制台中我查看
开发模式 nextJS - 正确。
构建后。
这只会在项目建成后发生。 可能出现什么问题以及如何解决?也许有人遇到过这样的事情
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)