817 B
817 B
Contributing
Setting up your IDE
If you are using vscode, enable Vue
code hints in the .md
docs:
// .vscode/settings.json
"vue.server.includeLanguages": ["vue", "markdown"]
Adding new Ui components
::: tip Prerequisites
✔ I am using the same pattern in many different places in the app
✔ The pattern is not coupled with any funkwhale types
✔ It's a conventional Ui pattern
:::
- Create a file
Xyz.vue
atsrc/components/ui
and code the component - Add a file
xyz.md
atui-docs/components
with exhaustive examples - In
ui-docs/.vitepress/config.ts
, add the component to the sidebar links
Make sure to follow the anatomy of a Component!