seed-vue
v0.1.3
Published
A Vue2 based component library. Lightweight, responsible, and open-source.
Downloads
8
Maintainers
Readme
Quick start
💡 This is a very quick start guide. Check the docs for the detailed version.
Install via Yarn
$ yarn add seed-vue
or NPM
$ npm install seed-vue
Import to start using it.
// e.g main.js or main.ts
import Vue from 'vue';
import SeedVue from 'seed-vue';
import App from './YourApp.vue';
Vue.use(SeedVue);
// or import on-demand with
// import { Button } from 'seed-vue';
// Vue.component(Button.name, Button);
new Vue({
el: '#app',
render: (h) => h(App)
});
Use it on your templates.
<!-- e.g. YourApp.vue -->
<template>
<div>
<h1>Hello World</h1>
<p>
<s-button color="primary" @click="clickHandler">
Click to say hello!
</s-button>
</p>
</div>
</template>
<script>
export default {
name: 'YourApp',
methods: {
clickHandler(event) {
console.log('CLICKED!', event);
}
}
};
</script>
Contributing
All and every contribution is more than welcome! 🤩 Please contribute. 🙏
Found a bug? Please, raise an issue.
When raising issues, please:
- Make sure that the same issue was not raised yet
- Add screenshots and/ or animated GIFs to illustrate and make it easier to understand
- Keep in mind that this project is maintained on my spare time, so please don't expect an immediate response or fix to the created ticket. If you just have a question, please drop me a line on Twitter
Submitting Pull Requests
When contributing with PR
's, please keep in mind that SEED-VUE follows the Semantic Versioning System (a.k.a Semver). Also:
- Make your PR is against the
develop
branch.(Themaster
branch is a snapshot from the latest release!) - Add screenshots and/ or animated GIFs to illustrate and make it easier to understand
- Keep it simple and small. Massive PRs are hard to review and will get less priority
- Make sure you won't commit
dist
,node_modules
,docs
, or any other directory or file ignored in the.gitignore
. - Don't forget to update the
Contributors
session fromreadme.md
and include yourself in the list of contributors! 😉
Contributors
- @rogeriotaques (author and maintainer)
License
SEED-VUE - MIT License
Copyright © 2020 Rogerio Taques.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.