Upgrading
Run the Shadcn Phlexcomponents upgrade task
Warning
Please commit or stash your working directory before running the command below as it'll generate a lot of files.
./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