메인 컨텐츠로 이동
버전: 3.3.2

📦 theme-classic

도큐사우루스에서 사용할 수 있는 클래식 테마입니다.

You can refer to the theme configuration page for more details on the configuration.

npm install --save @docusaurus/theme-classic

If you have installed @docusaurus/preset-classic, you don't need to install it as a dependency.

Configuration

설정할 수 있는 필드

옵션타입기본값설명
customCssstring[] | string[]Stylesheets to be imported globally as client modules. 상대 경로는 사이트 디렉터리에 따라 정해집니다.
참고

Most configuration for the theme is done in themeConfig, which can be found in theme configuration.

Example configuration

프리셋 옵션이나 플러그인 옵션에서 테마를 설정할 수 있습니다.

대부분의 도큐사우루스 사용자는 프리셋 옵션을 사용해 플러그인을 설정합니다.

프리셋을 사용하는 경우 프리셋 옵션를 통해 플러그인을 구성합니다.

docusaurus.config.js
module.exports = {
presets: [
[
'@docusaurus/preset-classic',
{
theme: {
customCss: './src/css/custom.css',
},
},
],
],
};