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.vueatsrc/components/uiand code the component - Add a file
xyz.mdatui-docs/componentswith exhaustive examples - In
ui-docs/.vitepress/config.ts, add the component to the sidebar links
Make sure to follow the anatomy of a Component!