refactor(projects): 项目依赖信息直接从package.json获取

This commit is contained in:
Soybean
2021-11-05 23:03:53 +08:00
parent ec907f061c
commit 4487f9fbdc
7 changed files with 158 additions and 194 deletions

View File

@ -11,8 +11,8 @@
<script setup lang="ts">
import { NDescriptions, NDescriptionsItem } from 'naive-ui';
import { packageVersion } from '@/utils';
import { packageJson } from '@/utils';
const { dependencies } = packageVersion;
const { dependencies } = packageJson;
</script>
<style scoped></style>