nuxt-listify-theme
这是一个基于 Nuxt3、Nuxt Content 、Nuxt Layers 的主题,通过 json
或者 yaml
来生成一个极简的列表。
Try it now!
GitHub Template
Create a repo from this template on GitHub.
Clone to local
npx degit ChangJun2019/listify-template my-listify
cd my-listify
pnpm i
From Nuxt
npx nuxi init my-listify
cd my-listify
pnpm i listify-theme@latest
Nuxt.config.ts
export default defineNuxtConfig({
extends: [
'listify-theme'
]
})
Usage
在 content 目录下 书写 json 或者 yaml 文件
format
frontmatter:
title: your title
icon: icones name
description: your description
listify:
- name: your name
link: your link
Development
pnpm run dev
Build
pnpm run build # or generate