mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
* feat(v2): Provide typing to most of the theme-classic components * Expose type to the end users and dogfood it in v2 website |
||
---|---|---|
.. | ||
src | ||
babel.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
Docusaurus Theme Classic
The classic theme for Docusaurus.
Installation
Add docusaurus/theme-classic
to your package:
npm i @docusaurus/theme-classic
# or
yarn add @docusaurus/theme-classic
Modify your docusaurus.config.js
:
module.exports = {
...
+ themes: ['@docusaurus/theme-classic'],
...
}
Swizzling components
$ npm swizzle @docusaurus/theme-classic [component name]
All components used by this theme can be found here