请问一下 vant 组件如何才能正确 以 PascalCase 形式引入 #13617
              
                Unanswered
              
          
                  
                    
                      monkeying-boy
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
项目是 vue3+vite+ts+eslint vant 组成,目前遇到一个问题由于个人习惯问题想要统一项目组件命名风格,目前 vscode 代码提醒是以
kebab-case形式,但是自定义的组件又是PascalCase方式导致项目风格不统一,如果单独去修改 vant 组件太过于麻烦只能纯手敲 vscode 的代码提示全都是以短横线方式提醒,vant 是基于 @vant/auto-import-resolver 方式自动引入的。目前有什么比较好的解决方案吗?Beta Was this translation helpful? Give feedback.
All reactions