Using SFC in markdown, styles in the <style>
tag is not effect.
#3216
Labels
build
Related to the build system
<style>
tag is not effect.
#3216
Describe the bug
when I bump vitepress to
1.0.0-rc.26
, I found the styles in<style>
were not included in the packaged product.The style here is normal in the development environment, but it doesn't work after packing.
I try downgraded to
1.0.0-rc.25
, it was normal.Reproduction
reproduction link:
https://stackblitz.com/edit/vite-xmetfv?file=docs%2FDemo.vue
Expected behavior
Packaged for preview and styles can also take effect
related documents:
https://vitepress.dev/guide/using-vue#script-and-style
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: