🐛 BUG: Markdown-imported component styles do not get applied when Astro.glob().Content
is used
#3054
Labels
feat: markdown
Related to Markdown (scope)
What version of
astro
are you using?1.0.0-beta.5
What package manager are you using?
yarn / pnpm
What operating system are you using?
Linux
Describe the Bug
src/markdowns/file.md
file with the following:src/components/StyledCompoent.astro
with the followingindex.astro
withdev
orbuild
the projectExpected
There is a red
<h1>
componentActual
There is a black
<h1>
componentAdding the following line to the
index.astro
frontmatterwill side-effect import the styles, and I get the expected, red
<h1>
.Link to Minimal Reproducible Example
https://codesandbox.io/s/pedantic-archimedes-p3k2n0?file=/src/pages/index.astro
Participation
The text was updated successfully, but these errors were encountered: