ncine-presentation

Eng0AI 的头像作者 Eng0AI

展示nCine 2D游戏框架14年发展的Slidev演示文稿。

📖 中文导读:展示nCine 2D游戏框架14年发展的Slidev演示文稿。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: ncine-presentation description: Slidev presentation documenting 14 years of nCine 2D game framework development.

nCine Presentation

A Slidev presentation documenting 14 years of developing nCine, an open-source 2D game framework.

Tech Stack

  • Framework: Slidev (Vue-based)
  • Package Manager: pnpm
  • Output: dist directory

Setup

1. Clone the Template

git clone --depth 1 https://github.com/Eng0AI/ncine-presentation-template.git .

If the directory is not empty:

git clone --depth 1 https://github.com/Eng0AI/ncine-presentation-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

pnpm install

Build

pnpm build

Deploy

vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify

netlify deploy --prod --dir=dist

Development

pnpm dev

Starts the Slidev server and opens the presentation in your browser. Edit slides in slides.md.