src/styles/variables.scss
@@ -13,6 +13,9 @@ $sideBarWidthIsMenuHorizontal: 0; //当菜单横屏时的侧边栏高度 $menuBgLeftBackgroundColorValue: #f8f8fa; //当菜单横屏时的侧边栏高度 // the :export directive is the magic sauce for webpack // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass :export { @@ -25,4 +28,5 @@ subMenuHover: $subMenuHover; sideBarWidth: $sideBarWidth; sideBarWidthIsMenuHorizontal:$sideBarWidthIsMenuHorizontal; menuBgLeftBackgroundColorValue:$menuBgLeftBackgroundColorValue; }