본문으둜 κ±΄λ„ˆλ›°κΈ°
버전: 2.0.1

πŸ“¦ theme-classic

λ„νμ‚¬μš°λ£¨μŠ€μ—μ„œ μ‚¬μš©ν•  수 μžˆλŠ” ν΄λž˜μ‹ ν…Œλ§ˆμž…λ‹ˆλ‹€.

μ„ΈλΆ€ 섀정은 ν…Œλ§ˆ μ„€μ • ν•­λͺ©μ„ μ°Έκ³ ν•˜μ„Έμš”.

npm install --save @docusaurus/theme-classic
팁

@docusaurus/preset-classic을 μ„€μΉ˜ν•œ κ²½μš°μ—λŠ” ν…Œλ§ˆλ₯Ό λ”°λ‘œ μ„€μΉ˜ν•  ν•„μš”λŠ” μ—†μŠ΅λ‹ˆλ‹€.

섀정​

μ„€μ •ν•  수 μžˆλŠ” ν•„λ“œ

μ˜΅μ…˜νƒ€μž…κΈ°λ³Έκ°’μ„€λͺ…
customCssstring[] | string[]μ „μ—­ ν΄λΌμ΄μ–ΈνŠΈ λͺ¨λ“ˆλ‘œ κ°€μ Έμ˜¬ μŠ€νƒ€μΌμ‹œνŠΈμž…λ‹ˆλ‹€. μƒλŒ€ κ²½λ‘œλŠ” μ‚¬μ΄νŠΈ 디렉터리에 따라 μ •ν•΄μ§‘λ‹ˆλ‹€.
λ…ΈνŠΈ

ν•΄λ‹Ή ν…Œλ§ˆμ— λŒ€ν•œ λŒ€λΆ€λΆ„ 섀정은 ν…Œλ§ˆ μ„€μ •μ˜ themeConfig ν•­λͺ©μ—μ„œ μ„€μ •λ©λ‹ˆλ‹€.

μ„€μ • μ˜ˆμ‹œβ€‹

프리셋 μ˜΅μ…˜μ΄λ‚˜ ν”ŒλŸ¬κ·ΈμΈ μ˜΅μ…˜μ—μ„œ ν…Œλ§ˆλ₯Ό μ„€μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

팁

λŒ€λΆ€λΆ„μ˜ λ„νμ‚¬μš°λ£¨μŠ€ μ‚¬μš©μžλŠ” 프리셋 μ˜΅μ…˜μ„ μ‚¬μš©ν•΄ ν”ŒλŸ¬κ·ΈμΈμ„ μ„€μ •ν•©λ‹ˆλ‹€.

If you use a preset, configure this plugin through the preset options:

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