fixing path
This commit is contained in:
parent
ba2b742ca3
commit
51f065ecae
2 changed files with 12 additions and 12 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue