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

Issue applying to Laravel #6

Open
Musharofchy opened this issue Jan 10, 2024 Discussed in #5 · 1 comment
Open

Issue applying to Laravel #6

Musharofchy opened this issue Jan 10, 2024 Discussed in #5 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Musharofchy
Copy link
Contributor

Discussed in https://github.com/orgs/TailAdmin/discussions/5

Originally posted by Scottzozer December 26, 2023
Hi All,

Trying to use this template on a Laravel 10 project but keep running into issues when trying to merge it into my project. Right now I am getting an error on almost all of the custom CSS @apply classes saying they do not exist. Probably a noob mistake somewhere but I have added all the necessary libraries from the package.json, npm installed to generate all the node modules, added all the files, images, css, js to my project. Updated paths so they are in Laravel syntax but still getting these errors:

style.css:40:3: The 'border-primary' class does not exist. If 'border-primary' is a custom class, make sure it is defined within a '@layer' directive.

Anyone have any ideas on how to solve?

@Musharofchy Musharofchy added the bug Something isn't working label Jan 10, 2024
@Coderamrin
Copy link

Coderamrin commented Jan 31, 2024

Hello,
This might be a configuration issue.
Please follow the Tailwind CSS docs to complete the configuration.
https://tailwindcss.com/docs/guides/laravel#vite

And follow these if it still exist
https://stackoverflow.com/questions/68422354/tailwind-is-not-working-on-a-new-laravel-project
tailwindlabs/tailwindcss#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants