143fe3d488
- Implemented clean MVC architecture with Router, Controller, and Model base classes - Created database migrations for users, bands, bookings, reviews, and availability - Set up Tailwind CSS with yellow color scheme and modern design - Added Alpine.js for reactive JavaScript components - Configured Vite for asset building and hot module replacement - Created authentication and role-based middleware - Implemented helper functions and configuration system - Added comprehensive README with setup instructions - Configured Apache with proper rewrite rules and security headers - Set up Composer and npm package management with modern dependencies
32 lines
760 B
JavaScript
32 lines
760 B
JavaScript
import { defineConfig } from 'vite';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
root: '.',
|
|
build: {
|
|
outDir: 'public/dist',
|
|
emptyOutDir: true,
|
|
manifest: true,
|
|
rollupOptions: {
|
|
input: {
|
|
main: path.resolve(__dirname, 'resources/js/app.js'),
|
|
css: path.resolve(__dirname, 'resources/css/app.css'),
|
|
},
|
|
output: {
|
|
entryFileNames: 'js/[name].[hash].js',
|
|
chunkFileNames: 'js/[name].[hash].js',
|
|
assetFileNames: (assetInfo) => {
|
|
if (assetInfo.name.endsWith('.css')) {
|
|
return 'css/[name].[hash][extname]';
|
|
}
|
|
return 'assets/[name].[hash][extname]';
|
|
},
|
|
},
|
|
},
|
|
},
|
|
server: {
|
|
port: 3000,
|
|
strictPort: false,
|
|
},
|
|
});
|