Created
January 22, 2023 14:05
-
-
Save crzapata/43f5d7da85a4df23aa09eff5d04d935c to your computer and use it in GitHub Desktop.
Workaround for TailwindCSS styles not downloading in Laravel 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite'; | |
import laravel from 'laravel-vite-plugin'; | |
export default defineConfig({ | |
server: { | |
hmr: { | |
host: 'localhost' | |
} | |
}, | |
plugins: [ | |
laravel({ | |
input: [ | |
'resources/css/app.css', | |
'resources/js/app.js', | |
], | |
refresh: true, | |
}), | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment