nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.11k stars 542 forks source link

cli: fix line break doc template #2687

Closed hywax closed 3 days ago

hywax commented 3 days ago

๐Ÿ”— Linked issue

None

โ“ Type of change

๐Ÿ“š Description

Right now the file is being generated with an error, this PR fixes the generation

---
description:
-links: - label: Example
+links:
+  - label: Example
     icon: i-custom-radix-vue
     to: https://www.radix-vue.com/components/example.html
   - label: GitHub
     icon: i-simple-icons-github
     to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Example.vue
---

๐Ÿ“ Checklist

pkg-pr-new[bot] commented 3 days ago
pnpm add https://pkg.pr.new/@nuxt/ui@2687

commit: 3fb242e