To authenticate Flux, head over to the packages page on either the server or site. You will then see the following:
Click the "Add Credential" button to authenticate with a new private composer package and enter the following details:
Finally, click the "Save" button. You should now be authenticated with the Flux private composer server and be able
install Flux using
composer require livewire/flux-pro
For more information, please refer to the
Laravel Forge Packages documentation.
If you are installing Flux in a project that uses classes such as
.dark
for toggling dark mode—instead of detecting a user's operating system preference—you will need to add the following to your
tailwind.config.js
file: