-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Vue: uppercase tag for custom component <Table> is converted to lowercase <table> #5524
Copy link
Copy link
Closed
Closed
Copy link
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Milestone
Metadata
Metadata
Assignees
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
I have a custom component called
Tableinstalled globally usingVue.component('Table', Table). This means, that in a template,Tableandtableare not the same. However, prettier converts the uppercase variant to the lowercase one.Prettier 1.15.2
Playground link
Input:
Output:
Expected behavior:
Leave uppercase
<Table>untouched.