first commit

This commit is contained in:
brusnitsyn
2026-06-24 17:20:43 +09:00
commit 43499acf1c
165 changed files with 25929 additions and 0 deletions

46
vite.config.ts Normal file
View File

@@ -0,0 +1,46 @@
import inertia from '@inertiajs/vite';
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 { defineConfig } from 'vite';
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.ts'],
refresh: true,
}),
inertia(),
tailwindcss(),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
wayfinder({
formVariants: true,
}),
],
ssr: {
// NaiveUI и его экосистема поставляются как CJS/имеют браузерные модули —
// под SSR их нужно бандлить (иначе «Named export not found»).
noExternal: [
'naive-ui',
/^@css-render/,
'css-render',
'vueuc',
'seemly',
'treemate',
'evtd',
'vooks',
'vdirs',
'date-fns',
'vue-icons-plus',
'@juggle/resize-observer',
],
},
});