vue 全局选择器:global不支持类less的嵌套吗? #10427
              
  
  Closed
              
          
                  
                    
                      Syntax-J
                    
                  
                
                  started this conversation in
                General Discussions
              
            Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
这样写好像只会把background-color:red;应用在parent上, 如果直接使用:global(.parent .child)是可以正常工作的, 但是如果有多个child的话得重复写就感觉比较啰嗦
是否只能最终以下面这种共存的方式完成呢?
Beta Was this translation helpful? Give feedback.
All reactions