Having difficulty incorporating Tailwind CSS into mail views in Laravel. There seem to be somewhat limited resources on this. Could someone share some pointers, especially if you’ve successfully achieved a similar implementation?
npm install tailwindcss
npx tailwindcss init
tailwind.config.js
module.exports = { purge: [ './resources/**/*.blade.php', './resources/**/*.js', './resources/**/*.vue', ], darkMode: false, // or 'media' or 'class' theme: { extend: {}, }, variants: { extend: {}, }, plugins: [], }
@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities';
npm run dev
Was this helpful?
Help @cosmic spread the word by sharing this article on Twitter...