fixing path

This commit is contained in:
Warunee Tamkoo 2025-02-07 16:31:52 +07:00
parent ba2b742ca3
commit 51f065ecae
2 changed files with 12 additions and 12 deletions

View file

@ -1,12 +1,12 @@
<script setup lang="ts">
import { deleteCookie, getCookie, setCookie } from "@/plugins/cookie";
import router from "@/router";
import { computed, onMounted, ref } from "vue";
import { useQuasar } from "quasar";
import axios from "axios";
import config from "@/app.config";
import router from "../router";
import config from "../app.config";
import CustomComponent from "@/components/CustomDialog.vue";
import CustomComponent from "../components/CustomDialog.vue";
import screen1 from "../assets/screen1.png";
import screen2 from "../assets/screen2.png";
import screen3 from "../assets/screen3.png";
@ -15,7 +15,7 @@ import screen4 from "../assets/screen4.png";
import assetSso from "../assets/sso.png";
import line2 from "../assets/line2.png";
import type { DateCards } from "@/interface/index/Main";
import type { DateCards } from "../interface/index/Main";
const $q = useQuasar();

View file

@ -8,7 +8,7 @@ import { VitePWA } from 'vite-plugin-pwa'
// https://vitejs.dev/config/
export default defineConfig({
base: './',
base: '/e-hr/',
plugins: [
vue({
template: { transformAssetUrls },
@ -39,13 +39,13 @@ export default defineConfig({
},
build: {
assetsDir: 'assets',
rollupOptions: {
output: {
entryFileNames: 'assets/[name]-[hash].js',
chunkFileNames: 'assets/[name]-[hash].js',
assetFileNames: 'assets/[name]-[hash][extname]',
},
},
// rollupOptions: {
// output: {
// entryFileNames: 'assets/[name]-[hash].js',
// chunkFileNames: 'assets/[name]-[hash].js',
// assetFileNames: 'assets/[name]-[hash][extname]',
// },
// },
},
server: {
port: 3002,