screwfast
使用 Tailwind CSS 4、Preline UI、GSAP 和 Starlight 文档的 Astro 5 登录页面。
📖 中文导读:使用 Tailwind CSS 4、Preline UI、GSAP 和 Starlight 文档的 Astro 5 登录页面。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: screwfast description: Astro 5 landing page with Tailwind CSS 4, Preline UI, GSAP, and Starlight docs.
ScrewFast Landing Page
A versatile landing page, blog, and docs template with Astro 5, Tailwind CSS 4, Preline UI, GSAP animations, and Starlight documentation.
Tech Stack
- Framework: Astro 5 with Starlight docs
- Styling: Tailwind CSS 4, Preline UI
- Animation: GSAP, Lenis smooth scroll
- Package Manager: npm
- Output:
distdirectory - Dev Port: 4321
Setup
1. Clone the Template
git clone --depth 1 https://github.com/Eng0AI/screwfast-template.git .
If the directory is not empty:
git clone --depth 1 https://github.com/Eng0AI/screwfast-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
npm install
Build
npm run build
Runs astro check && astro build && node process-html.mjs which type checks, builds, and minifies HTML.
Deploy
Vercel (Recommended)
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
npm run dev
Opens at http://localhost:4321
Preview production build:
npm run preview