# Vuepress + Cloudflare Pages 使い方
絶対また忘れれるからめも
# Vuepress の初期化
Github でレポジトリを作成してクローンする
workdirで init
yarn create vuepress-site
- master以外のプッシュされたら反映させるブランチを作っておく
# Cloudflare Pages の設定
Cloudflare Pages でレポジトリを選択して Deploy Branch をページ用ブランチにしておく
以下の設定にしておく
Build Command:
npx vuepress build src
Build Output Directory:
src/.vuepress/dist
Root Directory:
docs
Environment Variables:
NODE_OPTIONS
= --openssl-legacy-provider
index.md を適当に書いてページブランチにPR
結果待ち