-
-
Notifications
You must be signed in to change notification settings - Fork 86
Laravel Mix
tanthammar edited this page May 4, 2021
·
9 revisions
You must add support for nested css,
if you used the Artisan command to install Tall-forms, or if you installed the custom.css
Otherwise, you won't be able to compile your css.
npm install postcss@latest autoprefixer@latest postcss-nesting alpinejs --save-dev
const mix = require('laravel-mix');
const cssNesting = require('postcss-nesting');
mix.js('resources/js/app.js', 'public/js')
.postCss('resources/css/app.css', 'public/css', [
require('postcss-import'),
cssNesting(),
require('tailwindcss'),
// require('autoprefixer'), automatic w Laravel Mix 6
]);
if (mix.inProduction()) {
mix.version();
}
Next step -> install the theme
- 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