laravel-mix-tailwindcss
laravel-mix-tailwindcss copied to clipboard
Tailwind CSS wrapper for Laravel Mix.
**What version of Tailwind CSS are you using?** 3.3.1 **What build tool (or framework if it abstracts the build tool) are you using?** mix-tailwindcss 1.3.0 laravel-mix 5.0.9 **What version of...
I would expect the below code to copy `fonts/Inter-Regular.woff2` into my configured public directory, and add it to the `mix-manifest.json`. ```scss @tailwind base; @tailwind components; @tailwind utilities; @layer base {...
`package.json` ```json "dependencies": { "@tailwindcss/postcss": "^4.0.7", "mix-tailwindcss": "^1.3.0", "postcss": "^8.5.3", "postcss-import": "^16.1.0", "tailwindcss": "^4.0.7" } ``` `webpack.mix.js` ```javascript let mix = require("laravel-mix"); require('mix-tailwindcss'); mix.setPublicPath("./") .setResourceRoot("/themes/enzaalex") .js("assets/src/js/app.js", "assets/dist/js") .postCss("assets/src/scss/app.css", "assets/dist/css", [])...
"scripts": { "dev": "npx mix watch", "prod": "npx mix -p" }, GIF: https://drive.google.com/file/d/1VB5ZABswgQ8wNe3RkHhQFXNuWCs8_PGz/view?usp=sharing MP4: https://drive.google.com/file/d/12a3BkoGZ_VnNP8meyyvUMm_y2zIaQvEL/view?usp=sharing