Ecommerce

Pro

Remove the cart and checkout, added by vela enable ecommerce.

Syntax

$ vela disable ecommerce

Options

  • -y, --yes - Skip the confirmation prompt

What it removes

  • src/lib/cart.svelte.ts and the cart components
  • The /cart and /checkout/success pages, and the demo /shop page
  • The cart button in the navbar

What it leaves

  • Payments, and its keys
  • The shadcn-svelte sheet and badge components
  • Pages of your own that use <AddToCart>: remove those uses, or they no longer build