lovable-to-nextjs
Installation
SKILL.md
Lovable/Vite to Next.js Converter
Convert Lovable (Vite + React) projects into production-ready Next.js static sites with excellent SEO,
a file-based CMS pattern using data/, and GitHub Pages deployment.
Package manager: yarn classic (v1) only
Use yarn classic (v1.22.x) exclusively. Never use npm. All commands, scripts, and CI pipelines must use yarn.
yarn install(not npm install)yarn add(not npm install package)yarn build(not npm run build)yarn create next-app(not npx create-next-app) for scaffoldingnpx shadcn@latestis the only exception — shadcn CLI has noyarn createequivalent- CI:
yarn install --frozen-lockfile
Important: yarn classic does NOT have yarn dlx. Use yarn create <name> for create-* packages,
and npx only when there is no yarn alternative (like shadcn CLI).