Reference
nagi.config.js
設定ファイルで指定できる項目の一覧です。
nagi.config.js は任意です。置かなくてもビルドできますが、細かく調整したいときに使います。
nagi.config.js
export default {
title: 'My Site',
contentDir: 'content',
outDir: 'dist',
theme: { accent: '#2f6df6' },
};主な設定キー
| キー | 既定値 | 説明 |
|---|---|---|
| title | "Nagi Site" | サイト全体のタイトル |
| contentDir | "content" | Markdownを探すディレクトリ |
| outDir | "dist" | ビルド成果物の出力先 |
| theme | {} | テーマのCSS変数 |