Skip to content

这是一个nextjs开发,使用chakra-ui设计的,基于contentlayerjs生成静态数据内容的web 博客,支持mdx,评论,SEO等功能

Notifications You must be signed in to change notification settings

MutongXiao/chakra-next-contentlayer-blog

Repository files navigation

This is a Next.js blog project bootstrapped with create-next-app. site ui component designed with chakra ui.Generate static pages via contentlayer.js that supports mdx.

线上预览

Usage

yarn install

Getting Started

First, run the development server:

yarn dev

Run the production server

yarn build

It will auto general search meta data at configs/search-meta.json for algolia search on building

Open http://localhost:3000 with your browser to see the result.

How to quickly deploy a project in Vercel, you can refer to:

bilibili video

Function module

  • The site search function is implemented using algolia

  • The comment function is implemented using Discuss with some modifications I have made

  • The access code authorization function is implemented using Next-Auth. And the implementation in the project is to use two environment variables process.env.ACCESS_CODE and process.env.ADMIN_PASSWORD for request parameter verification

  • ......

Thanks All !!

Other

This is a web blog website that I made as an amateur during the learning process, some website modules have not been implemented. Maybe I will add some modules that I am interested in from time to time on the website. Right, it's up to me if I have the time, but I'll do it! -_-

About

这是一个nextjs开发,使用chakra-ui设计的,基于contentlayerjs生成静态数据内容的web 博客,支持mdx,评论,SEO等功能

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published