Replies: 1 comment 1 reply
-
|
This is expected. In Laravel (and generally in any app), modifying files inside Any changes made in
The recommended approach is to extend or override components in your app, and keep all styling changes in your own Tailwind pipeline, not the package’s. I've recently answered a similar question. Check out the steps here: Customizing the Two-Factor Authentication page. Rule of thumb: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to make some changes on blade files of auth (ref: https://devdojo.com/auth/docs/extend/components/).
After updating HTML and adding some new Tailwind CSS classes, I run
npx tailwindcss -c ./vendor/devdojo/auth/tailwind.config.js -o ./public/auth/build/assets/styles.cssas the docs say. But after I run that command, the styles in Wave auth settings (/auth/setup/) are broken (missing utility classes that are used on Wave auth pages), also my new classes have been added to/auth/build/assets/styles.css.I can get working auth settings only after I run
php artisan vendor:publish --tag=auth:assets --force, but I lost all my custom classes.Is this a bug, or is it expected to work like this?
Beta Was this translation helpful? Give feedback.
All reactions