add util.ts for sharing common functions between frontend and backend

This commit is contained in:
LouisLam
2021-07-30 11:23:04 +08:00
parent 71af902a4e
commit 081abcb6a1
12 changed files with 120 additions and 49 deletions

View File

@@ -3,9 +3,9 @@
<span v-else>{{ value }}</span>
</template>
<script>
<script lang="ts">
import { sleep } from "../util-frontend"
import { sleep } from "../util.ts"
export default {