🚀 一个使用 Nuxt3、TypeScript 和 UnoCSS 构建的现代化个人博客系统。特点包括响应式设计、深色模式支持、文章搜索、评论系统以及优秀的 SEO 表现。A modern personal blog system built with Nuxt3, TypeScript and UnoCSS. Features include responsive design, dark mode support, article search, comment system and excellent SEO performance.
This is a personal blog website built with Nuxt3 + TypeScript + UnoCSS, designed for displaying articles, recording life, and sharing personal moments. The project utilizes a modern front-end technology stack, features responsive layout and dark mode support, focusing on excellent user experience and performance optimization.
# Clone repository
git clone https://github.com/alickx/nuxt3-blog.git
cd nuxt3-blog
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Build project
pnpm build
# Preview build result
pnpm preview
Blog articles are stored in the src/content/_articles
directory, written in Markdown format. Each article needs to include frontmatter metadata, for example:
---
title: 'Article Title'
description: 'Article Description'
date: '2023-01-01'
tags: ['tag1', 'tag2']
---
Article content...
The blog can be easily customized through the configuration file located at src/config/site.ts
. This allows you to modify:
Example configuration:
// src/config/site.ts
export const siteConfig = {
name: "Your Blog Name",
title: "Your Blog Title",
description: "Your blog description",
author: "Your Name",
// Navigation menu
nav: [
{ name: "Home", path: "/" },
{ name: "About", path: "/about" },
// Add more menu items
],
// Footer links by section
footerLinks: [
{
title: "Social Media",
links: [
{ name: "Github", url: "https://github.com/yourusername" },
// Add more links
]
},
// Add more sections
],
// SEO configuration
seo: {
meta: {
keywords: "keyword1,keyword2",
description: "Site description"
}
},
// Algolia search configuration
algolia: {
apiKey: "your-api-key",
applicationId: "your-application-id",
indexName: "your-index-name",
lang: "en"
}
}
The project uses a Vercel + Cloudflare deployment approach:
pnpm build
Contributions to this project are welcome! Whether submitting bugs, improving documentation, or adding new features, your participation will make this project better.
git checkout -b feature/amazing-feature
git commit -m 'Add some amazing feature'
git push origin feature/amazing-feature
This project is distributed and used under the LICENSE open source license.
Made with ❤️ by alickx