mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-28 09:14:32 -04:00
fix require() actually not working after build in the frontend
This commit is contained in:
parent
b3bff8d735
commit
dfa9b3a0ca
4 changed files with 17 additions and 8 deletions
|
@ -220,7 +220,7 @@
|
|||
|
||||
<script>
|
||||
import { Modal } from 'bootstrap'
|
||||
const {ucfirst} = require("../../server/util")
|
||||
import { ucfirst } from '../util-frontend'
|
||||
import axios from "axios";
|
||||
import { useToast } from 'vue-toastification'
|
||||
import Confirm from "./Confirm.vue";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue