Upgrading

Run the Shadcn Phlexcomponents upgrade task

./bin/rails shadcn_phlexcomponents:upgrade

The above command will:

  • Copy all Phlex component files to vendor/shadcn_phlexcomponents/components
  • Copy all Stimulus controller files (either TypeScript or JavaScript) to vendor/shadcn_phlexcomponents/javascript
  • Copy all CSS files to vendor/shadcn_phlexcomponents/stylesheets