You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a component <Header /> or <Footer /> (maybe happens with more components, but I'm not aware of that) they are converted to <header /> and <footer /> HTML elements when they shouldn't
Steps to Reproduce
npm init astro using template minimal
Install prettier and prettier-plugin-astro
Create two components: Header.astro and Footer.astro
Also the same with Nav and Button. I guess with all native HTML tags clashing with component names.
Edited: when I add `` to the component anywhere (for example <div class={`h-10`} />) it works fine tho, so could be used as a workaround for now @JuanM04
Describe the Bug
When I use a component
<Header />
or<Footer />
(maybe happens with more components, but I'm not aware of that) they are converted to<header />
and<footer />
HTML elements when they shouldn'tSteps to Reproduce
npm init astro
using templateminimal
prettier
andprettier-plugin-astro
Header.astro
andFooter.astro
index.astro
with this:prettier -w .
(maybe you'll have to run it twice)<Header />
to be<header />
(and the same with Footer)The text was updated successfully, but these errors were encountered: