Curvea

Reference

Feature Flags

Curvea combines explicit project feature flags with detected project dependencies/assets.

Explicit flags

SEO and sitemap are stored in package.json:

{
  "curvea": {
    "features": {
      "seo": true,
      "sitemap": true
    }
  }
}

Enable them with:

npx curvea add seo
npx curvea add sitemap

Detected features

The Engine exposes these feature states internally:

  • Tailwind: src/assets/css/app.css exists; the Tailwind CLI is used when its local binary is present.
  • Lucide: lucide is present in dependencies or devDependencies.
  • Sitemap: curvea.features.sitemap is truthy.
  • SEO: curvea.features.seo is truthy.

npx curvea add tailwind and npx curvea add lucide install/configure their corresponding dependencies and starter files.