mirror of
https://github.com/RhenCloud/Cloud-Home.git
synced 2026-01-22 17:39:07 +08:00
该项目从 Vue 3 迁移到了 Nuxt 4,对代码结构和配置进行了相应调整。 - 修改了环境变量前缀,将 `VITE_` 替换为 `NUXT_PUBLIC_`,以便与 Nuxt 的环境变量配置兼容。 - 添加了新的环境变量 `WAKATIME_API_KEY` 和可选变量 `WAKATIME_API_URL` 用于配置 Wakatime API。
18 lines
357 B
Vue
18 lines
357 B
Vue
<template>
|
|
<main class="page">
|
|
<ProjectsSection :projects="projects" />
|
|
</main>
|
|
</template>
|
|
|
|
<script setup>
|
|
import ProjectsSection from "~/components/ProjectsSection.vue";
|
|
import siteConfig from "~/config/siteConfig";
|
|
|
|
const projects = siteConfig.projects;
|
|
|
|
definePageMeta({
|
|
order: 3,
|
|
label: "项目",
|
|
});
|
|
</script>
|