-
Notifications
You must be signed in to change notification settings - Fork 774
mand-mobile components regisrty name style #261
Copy link
Copy link
Closed
Labels
Description
参考vue风格指南,与 vue selint rule 可以发现 在单文件组件中使用PascalCase命名与引用比kebab-case会具备更多的优势,而mand-mobile 全局使用 kebab-case会对组件注册,这导致在单文件组件中就只能使用kebab-case调用,而PascalCase 可以支持多种方式调用
Components registered under other than PascalCase name have to be called directly under the specified name, whereas if you register it using PascalCase you can call it however you like, except using snake_case.
🔧 Options
Reactions are currently unavailable