aboutsummaryrefslogtreecommitdiff
path: root/vite.config.js
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-06-13 21:59:16 +0100
committerFrankie B <frankieraybrown@gmail.com>2023-06-14 22:15:44 +0100
commit8af402a9e2589d459fe1ae8a85effe2951e1d904 (patch)
tree4708f5c996376dd94f2cc49f7d16dc80eef1a4df /vite.config.js
parent3d69dd05c2f5129295688684d2c3a93a90b44f89 (diff)
Initialize laravel app
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js
new file mode 100644
index 0000000..421b569
--- /dev/null
+++ b/vite.config.js
@@ -0,0 +1,11 @@
+import { defineConfig } from 'vite';
+import laravel from 'laravel-vite-plugin';
+
+export default defineConfig({
+ plugins: [
+ laravel({
+ input: ['resources/css/app.css', 'resources/js/app.js'],
+ refresh: true,
+ }),
+ ],
+});