This repository contains a ready-to-use Vue-Components-Library based on munich.de's MDE5 Patternlab. Current supported Version is 1.0.4.
In its current state only some components exist. The library will continually grow as the need for new components grows.
We intend to let this project be a community project in which every developer who needs new components contributes the results of his work into this library.
In the near future we plan to
- Create more components
- Integrate MDE5 Patternlab npm-Package as soon as it's available
See the open issues for a full list of proposed features (and known issues).
Please refer to the usage guide.
git clone https://github.com/it-at-m/muc-patternlab-vue.git
cd muc-patternlab-vue
npm install
npm run storybook
- Create a new Folder under
./src/components
-Directory - Create Vue-Component (with composition api) and index.ts-File which exports your component
- Add your new Component to
./src/components/index.ts
- Create at least one story in storybook of your component by creating a
<MyComponent>.stories.ts
-File.
Patternlab-Icons are provided by a svg-Sprite which is automatically injected in this repos App.vue-File for local testing. You can expect the users of this library to do the same thing.
So to use an icon from Patternlab you can simply follow the official documentation: https://patternlab.muenchen.space/?p=viewall-guidelines-icons
<muc-icon :icon="name"/>
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please open an issue with the tag "enhancement", fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Open an issue with the tag "enhancement"
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
More about this in the CODE_OF_CONDUCT file.
This project uses semantic-release!
It follows gitmoji commit conventions. For example:
gitmoji | Sample Commit message | Release type |
---|---|---|
💄 🔒 🚑 🐛 | :lipstick / :lock: / :ambulance: / :bug: stop graphite breaking when too much pressure applied |
Patch Release |
✨ | :sparkles: add 'graphiteWidth' option |
Minor Release |
💥 | :boom: The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reasons. |
Major Release |
Distributed under the MIT License. See LICENSE file for more information.
it@M - [email protected]