docusaurus/packages/docusaurus-theme-classic
Joshua Chen e5bf59fd9b
refactor: mark a few client-side packages as side-effect-free (#7085)
* refactor: mark a few client-side packages as side-effect-free

* fix

* fix again

* fix...

* revert sideeffect

* revert

* fix again...

* properly fix

* fix

* properly fix
2022-04-09 09:08:18 +08:00
..
src refactor: mark a few client-side packages as side-effect-free (#7085) 2022-04-09 09:08:18 +08:00
.npmignore misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
README.md docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
babel.config.js refactor: remove Babel plugins that are included in preset-env (#6614) 2022-02-05 16:55:40 +08:00
package.json chore: upgrade dependencies (#7065) 2022-03-30 11:05:50 +08:00
tsconfig.json refactor: enable a few TS flags (#6852) 2022-03-06 13:09:10 +08:00

README.md

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