curvea add
Adds or configures optional project features.
Usage
npx curvea add <feature>
Supported features are:
npx curvea add tailwind
npx curvea add lucide
npx curvea add sitemap
npx curvea add seo
Tailwind
Installs tailwindcss and @tailwindcss/cli as development dependencies and creates src/assets/css/app.css when needed.
Lucide
Installs lucide and creates src/assets/js/lucide.js when needed. With Lucide installed, Curvea Engine can transform:
<Icon name="menu" />
Sitemap
Enables:
{
"curvea": {
"features": {
"sitemap": true
}
}
}
Set site.url before building a sitemap.
SEO
Enables:
{
"curvea": {
"features": {
"seo": true
}
}
}
Configure the site values used by SEO in curvea.config.json.
Unknown feature names print the supported options without modifying the project.