Skip to content
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

Correctly call the tailwindcss preset if the auth flag is not passed #89

Commits on Mar 5, 2020

  1. Correctly call the tailwindcss preset if the auth flag is not passed

    Due to the removal of `tailwindcss-auth` macro the `tailwindcss` macro
    will always run `TailwindCssPreset::installAuth()`. This is in large
    part because how macro's work and the `UiCommand::macro('tailwindcss')`
    getting overwritten by `AuthCommand::macro('tailwindcss')`.
    
    This commit assumes that just having one macro of `tailwindcss` is the
    acceptable use moving forward. With that said, this commit check the
    command option auth flag and if it's true will correctly install all the
    auth presets.
    
    This commit also removes the call to the `install()` method on the
    TailwindCssPreset::installAuth method as this should always be called on
    the macro.
    marcusmyers committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    4d084c3 View commit details
    Browse the repository at this point in the history