mirror of
https://github.com/RhenCloud/Cloud-Home.git
synced 2026-01-22 17:39:07 +08:00
refactor:删除已弃用的组件和样式,迁移到 Tailwind CSS
- 改进项目页面、网站页面、友链页面 - 从 styles.css 中移除全局样式。 - 添加 tailwind.config.ts 以配置 Tailwind CSS。 - 更新 tsconfig.json,加入 Vue 组件的新路径映射。
This commit is contained in:
17
app/pages/projects.vue
Normal file
17
app/pages/projects.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user