如何为斯巴达克斯布局组件添加类

问题描述

例如,我们有code样式类AccountPageTemplate,如何添加新样式类或重命名

解决方法

仅将页面模板名称用作全局样式中的CSS类名称。

styles.scss

.AccountPageTemplate {
  // your css here...
    .BodyContent {
    // if you want to give style to content slots of this template
  }
}