1. After starting development dev mode, the code works fine, but some component styles are overridden by the vitepress default styles, such as the Button component.
2. An error occurred after running the packaging command npm run docs:build
Theme styles are easy to conflict. For example, when I use vitepress, the style of the button component is affected by the default theme style of vitepress, resulting in no style for the button component.
Describe the bug
1. After starting development dev mode, the code works fine, but some component styles are overridden by the vitepress default styles, such as the Button component.
2. An error occurred after running the packaging command
npm run docs:build
Reproducer
https://stackblitz.com/edit/vite-gmhvqb?file=docs%2F.vitepress%2Ftheme%2Findex.ts,docs%2F.vitepress%2Fconfig.ts
PrimeVue version
latest
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 123.0.6312.59
Steps to reproduce the behavior
No response
Expected behavior
No response