Frontend v.0.1
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// frontend/vite.config.js
|
||||
import { defineConfig } from 'vite'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [react(), tailwindcss()],
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
// This ensures that /vite.svg points to the public folder correctly
|
||||
|
||||
"/": path.resolve(__dirname, "./public"),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user