Skip to content

[6.x] Add setup-cp-vite command #12056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Aug 20, 2025

This pull request introduces a setup-cp-vite command, which simplifies the process of setting up Vite in your app for Control Panel development.

We were previously jamming CP assets into an app's existing vite.config.js but the CP is its own app so it should really have its own Vite config.

This command means we no longer need to include the scaffolding for CP assets in statamic/statamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant