Files
dredgy 439139a057
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
Done
2026-07-04 23:09:00 +10:00

43 lines
1.2 KiB
TypeScript

import { wayfinder } from '@laravel/vite-plugin-wayfinder';
import tailwindcss from '@tailwindcss/vite';
import vue from '@vitejs/plugin-vue';
import laravel from 'laravel-vite-plugin';
import { bunny } from 'laravel-vite-plugin/fonts';
import { defineConfig } from 'vite';
import vuetify from 'vite-plugin-vuetify';
import path from 'path';
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.sass', 'resources/js/app.ts'],
refresh: true,
fonts: [
bunny('Instrument Sans', {
weights: [400, 500, 600],
}),
bunny('Playfair Display', {
weights: [700],
}),
],
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
vuetify({ autoImport: true }),
wayfinder({
formVariants: true,
}),
],
resolve: {
alias: {
'@': path.resolve(__dirname, 'resources/js'),
},
},
});