@funkwhale/ui
v0.3.0
Published
The Funkwhale design component library is a collection of reusable UI components written in [Vue.js](https://vuejs.org) and [Sass](https://sass-lang.com).
Downloads
58
Readme
Funkwhale design component library
The Funkwhale design component library is a collection of reusable UI components written in Vue.js and Sass.
Check out the documentation for information on how each component works and to see a live preview.
Dependencies
This library depends on the following external packages:
You must install these packages for all components to work correctly.
Contribute to development
This project welcomes contributions! To get started make sure you have the following:
- A design to follow
- The use case for the component
Join the discussion on our forum to suggest new components.
Set up your environment
This project uses Yarn to manage dependencies and run development scripts. Make sure you have it installed before you start.
Install the project dependencies
yarn install
Start a development server to preview your changes in real time
yarn dev
Create a production-ready build
You can check how your code looks in production by creating a production-ready build.
Compile and minify your code for production
yarn build
Preview the production-ready build
yarn preview
Create and run tests
Writing tests for components minimizes the number of bugs that make it to production. This project uses the Vitest framework to run unit tests.
Write your test in the test directory
Run your unit tests
yarn test
Contribute to documentation
Funkwhale UI components should be properly documented before release to make development easier. You should include examples, use cases, and lists of component props to ensure contributors know how to work with components without needing to read the code.
Start a development server to preview your changes in real-time
yarn docs:dev
Create a production build of the documentation
yarn docs:build
Serve a production build of the documentation
yarn docs:serve
Release a new version
yarn version
yarn changelog
git add CHANGELOG.md && git commit --amend
git push --tags && git push