-
-
Notifications
You must be signed in to change notification settings - Fork 86
Tailwind Config 2x
tanthammar edited this page May 4, 2021
·
7 revisions
The default styling is based on Tailwindcss, TailwindUI is not required, but I urge you to get a license to support Adam for maintaining Tailwind. Read more on tailwindcss.com ->
npm install -D laravel-mix alpinejs tailwindcss@latest postcss-import postcss-nesting autoprefixer@latest @tailwindcss/forms @tailwindcss/typography @tailwindcss/aspect-ratio --save-dev
The preset merges, fonts, variants, plugins, colors and purge settings
module.exports = {
mode: 'jit', //https://tailwindcss.com/docs/just-in-time-mode#enabling-jit-mode
presets: [
// the preset merges, fonts, variants, plugins, colors and purge settings
require('./vendor/tanthammar/tall-forms/resources/stubs/tailwindcss/2.0/tall-forms-preset.js'),
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {}
},
variants: {},
plugins: [],
};
Next step -> setup Laravel Mix
- Installation
- Requirements
- v5 Upgrade Guide
- v6 Upgrade Guide
- v7 Upgrade Guide
- Support
- Quickstart
- Manual installation
- Optional
- Form component
- Field
- Field types
- Example Form
- Blade Components
- Notifications