theme style broken if importing bootstrap css module in the theme config #8919
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: working as intended
This issue is intended behavior, there's no need to take any action.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
The only way I've found to add bootstrap css styles to my page was to import the bootstrap css file as a theme customCss property in the docusaurus.config.js, after installing bootstrap with npm. In this way the whole style of docusaurus theme gets broken, like links and the Admonition component.
Is this the right way to use bootstrap css styling?
Because until a few commits ago, everything went well with this configuration
Reproducible demo
No response
Steps to reproduce
create a new docusaurus project with theme classic
install bootstrap with npm
add it to docusaurus config file as said above
run npm start
Expected behavior
no broken theme styles
Actual behavior
broken docusaurus theme and styles
Your environment
Self-service
The text was updated successfully, but these errors were encountered: