我需要覆蓋 ValoTheme 的現有 css,我在 mytheme.scss 中添加了新的 css 規則,我編譯了主題,并運行了應用程序,但它仍然沒有在 UI 上更新。 @mixin mytheme { @include valo; // Insert your own theme rules here .v-widget { box-sizing: border-box; vertical-align: top; text-align: right; } .v-slot, .v-spacing { display: -webkit-inline-box; white-space: nowrap; vertical-align: top; }}我試圖清理和刷新項目。如何通過覆蓋 valoTheme 的現有 css 來更新用戶界面
1 回答

肥皂起泡泡
TA貢獻1829條經驗 獲得超6個贊
您是否在 scss 中包含了 mixin?
在您的示例代碼中,我看到您通過@mixin mytheme 聲明了一個mixin。但是你在你的代碼中寫了@incude mytheme 嗎?
Sass 混合并包含: https ://sass-lang.com/documentation/at-rules/mixin
添加回答
舉報
0/150
提交
取消