- Added Vite scripts for development, build, and preview in package.json - Created README.md with instructions for frontend setup - Added client/index.html as the main entry point for the frontend - Implemented client/src/main.js for handling file uploads and UI interactions - Added client/src/styles.css for styling the frontend components - Configured Vite in vite.config.js for building the frontend assets
11 lines
216 B
JavaScript
11 lines
216 B
JavaScript
import { defineConfig } from 'vite'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
root: path.join(__dirname, 'client'),
|
|
build: {
|
|
outDir: path.resolve(__dirname, 'dist'),
|
|
emptyOutDir: true
|
|
}
|
|
})
|