golscontrol-frontend-v1/vite.config.ts
edgar.mendez 983c3265bc feat: remove index.html and restructure RH components
- Deleted the index.html file from the RH components.
- Created new DepartmentForm.vue and Departments.vue components for managing departments.
- Updated the router to reflect the new path for Departments component.
- Added DepartmentsService for API interactions related to departments.
- Introduced types for departments in departments.interface.ts.
- Updated WarehouseAddInventory.vue to change background color classes.
- Configured TypeScript paths in tsconfig.app.json for easier imports.
- Enhanced Vite configuration to support aliasing for src directory.
2026-02-27 13:33:59 -06:00

23 lines
545 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";
import Components from 'unplugin-vue-components/vite';
import { PrimeVueResolver } from '@primevue/auto-import-resolver';
import { fileURLToPath, URL } from 'node:url';
export default defineConfig({
plugins: [
vue(),
tailwindcss(),
Components({
resolvers: [
PrimeVueResolver()
]
})
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
});