Im building a laravel project, and I am trying to build everything so i can upload it to the server. To build my tailwind, I’m running
npx tailwindcss -o build.css --minify
which isn’t building every style. It builds most styles correctly, like 90% of them, but more recently added styles that I have worked on today and yesterday i.e my-40 etc, just arent being built, so when I switch from:
@vite('resources/css/app.css')
to
<link rel="stylesheet" href="{{ asset('css/build.css') }}">
This website looks off. It looks normal when running it with vite however, so I feel it must be an issue with the build command.
Am I missing something that I should be running first, or perhaps running the wrong command?