fix:修复打包失败的问题
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref, onMounted, watch } from 'vue'
|
||||
import { countWord } from '../utils/functions'
|
||||
import { countWord } from '../utils'
|
||||
import { useData } from 'vitepress'
|
||||
|
||||
const wordCount = ref(0)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<calendar-heatmap
|
||||
v-if="!isMobile()"
|
||||
:values="heatmapData"
|
||||
:end-date="new Date()"
|
||||
no-data-text="暂无记录"
|
||||
@@ -19,6 +20,7 @@
|
||||
import { CalendarHeatmap } from 'vue3-calendar-heatmap';
|
||||
import 'vue3-calendar-heatmap/dist/style.css';
|
||||
import { data } from '../../data/posts.data.js'
|
||||
import {isMobile} from "../utils";
|
||||
|
||||
const dateCountMap = new Map<string, number>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user