Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkshi/vue-common-components
Universal basic components for your Vue.js/Nuxt.js project
https://github.com/gkshi/vue-common-components
boilerplate button checkbox component components input loader modal nuxtjs radio select tabs template textarea typing-effect vuejs
Last synced: 24 days ago
JSON representation
Universal basic components for your Vue.js/Nuxt.js project
- Host: GitHub
- URL: https://github.com/gkshi/vue-common-components
- Owner: gkshi
- License: other
- Created: 2020-06-09T12:01:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T19:52:26.000Z (about 3 years ago)
- Last Synced: 2024-09-30T08:21:49.273Z (about 1 month ago)
- Topics: boilerplate, button, checkbox, component, components, input, loader, modal, nuxtjs, radio, select, tabs, template, textarea, typing-effect, vuejs
- Language: Vue
- Homepage: https://gkshi.github.io/vue-common-components/
- Size: 7.05 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-common-components
> Global basic components for your Vue.js/Nuxt.js project
[![npm version](https://img.shields.io/npm/v/vue-common-components.svg)](https://www.npmjs.org/package/vue-common-components)
[![npm downloads](https://img.shields.io/npm/dm/vue-common-components.svg)](http://npm-stat.com/charts.html?package=vue-common-components)
Visit [website and documentation](https://gkshi.github.io/vue-common-components/).
## Getting started
#### 1. Install the dependency.
```bash
yarn add --dev vue-common-components
``````bash
npm i vue-common-components
```#### 2. Init the plugin.
If you are using Vue.js:
```javascript
// main.js
import Vue from 'vue'
import VueCommonComponents from 'vue-common-components'
Vue.use(VueCommonComponents, {
// custom options here
})
```If you are using Nuxt.js:
The plugin inits automatically, you just have to add it in nuxt config:```javascript
// nuxt.config.js
export default {
plugins: [
'node_modules/vue-common-components'
],
commonComponents: {
// custom options here
}
}
```#### 3. Use common components everywhere in project:
```vue
// any component or page
Button
export default {
// No need to import common components
}```
Visit [website and documentation](https://gkshi.github.io/vue-common-components/).