2 files added
4 files modified
| | |
| | | ], |
| | | resolve: { |
| | | alias: { |
| | | '@': fileURLToPath(new URL('./src', import.meta.url)) |
| | | '@': fileURLToPath(new URL('./vue/src', import.meta.url)) |
| | | }, |
| | | }, |
| | | server: { |
| New file |
| | |
| | | VITE_API_BASE="/api" |
| | | VITE_ILIAS_BASE="http://localhost:8060" |
| New file |
| | |
| | | VITE_API_BASE="https://globusfm-dev2.minervis.com/popcorn/api" |
| | | VITE_ILIAS_BASE="https://globusfm-dev2.minervis.com" |
| | |
| | | import {ref, watch} from "vue" |
| | | import {useDebounceFn} from '@vueuse/core' |
| | | |
| | | console.log("import.meta.env.VITE_API_BASE",import.meta.env.VITE_API_BASE) |
| | | console.log("import.meta.env.VITE_ILIAS_BASE",import.meta.env.VITE_ILIAS_BASE) |
| | | |
| | | const apiToken = ref("") |
| | | |
| | | function updateApiToken (evt) { |
| | |
| | | |
| | | /////// CONSTANTS //////////////////////////////////////////////////////////////// |
| | | |
| | | export const apiBase = "/api" |
| | | export const iliasBase = "http://localhost:8060" |
| | | export const apiBase = import.meta.env.VITE_API_BASE |
| | | export const iliasBase = import.meta.env.VITE_ILIAS_BASE |
| | | |
| | | /////// KURS //////////////////////////////////////////////////////////////// |
| | | |
| | |
| | | const dataKursTn = await getKursTn(kursId) |
| | | console.log(dataKursTn) |
| | | kursTn.value = dataKursTn |
| | | |
| | | console.log(222222222222,import.meta.env.VITE_TST) |
| | | } |
| | | |
| | | const aaa = import.meta.env.VITE_TST |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | | |
| | | <div> |
| | | <pre>---{{aaa}}</pre> |
| | | <h1> |
| | | Kurs |
| | | <small>{{ kurs?.title }}</small> |