View | Details | Raw Unified | Return to bug 32806
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts (-5 / +5 lines)
Lines 15-23 import vSelect from "vue-select"; Link Here
15
15
16
library.add(faPlus, faMinus, faPencil, faTrash, faSpinner);
16
library.add(faPlus, faMinus, faPencil, faTrash, faSpinner);
17
17
18
import App from "./components/ERM/Main.vue";
18
import App from "../components/ERM/Main.vue";
19
19
20
import { routes } from "./routes/erm";
20
import { routes } from "../routes/erm";
21
21
22
const router = createRouter({
22
const router = createRouter({
23
    history: createWebHistory(),
23
    history: createWebHistory(),
Lines 25-33 const router = createRouter({ Link Here
25
    routes,
25
    routes,
26
});
26
});
27
27
28
import { useMainStore } from "./stores/main";
28
import { useMainStore } from "../stores/main";
29
import { useVendorStore } from "./stores/vendors";
29
import { useVendorStore } from "../stores/vendors";
30
import { useAVStore } from "./stores/authorised_values";
30
import { useAVStore } from "../stores/authorised_values";
31
31
32
const pinia = createPinia();
32
const pinia = createPinia();
33
33
(-)a/webpack.config.js (-2 / +1 lines)
Lines 5-11 const webpack = require('webpack'); Link Here
5
5
6
module.exports = {
6
module.exports = {
7
  entry: {
7
  entry: {
8
    erm: "./koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts",
8
    erm: "./koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts",
9
  },
9
  },
10
  output: {
10
  output: {
11
    filename: "[name].js",
11
    filename: "[name].js",
12
- 

Return to bug 32806