0.3.3 • Published 5 years ago

vue-iaa-matrix-client v0.3.3

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
5 years ago

vue-iaa-matrix-client

Rollup badge Jest Vue Storybook Commitizen semantic-release Npm badge Build Status

Matrix client using Vue.js

Generated using vue-cli-template-library.

Installation

npm install vue-iaa-matrix-client

vue-iaa-matrix-client can be used as a module in both CommonJS and ES modular environments.

When in non-modular environment, vue-iaa-matrix-client will register all the components to vue by itself.

ES6

//
// You can register a component manually
//
import { HelloWorld } from 'vue-iaa-matrix-client';

export default {
  ...
  components: {
    HelloWorld
  },
  ...
};

//
// or register the whole module with vue
//
import ModuleLibrary from 'vue-iaa-matrix-client';

// Install this library
Vue.use(ModuleLibrary);

CommonJS

//
// You can register a component manually
//
var Vue = require('vue');
var ModuleLibrary = require('vue-iaa-matrix-client');

var YourComponent = Vue.extend({
  ...
  components: {
    'hello-world': ModuleLibrary.HelloWorld
  },
  ...
});

//
// or register the whole module with vue
//
var Vue = require('vue');
var ModuleLibrary = require('vue-iaa-matrix-client');

// Install this library
Vue.use(ModuleLibrary);

Browser

<script src="path/to/vue/vue.min.js"></script>
<script src="path/to/vue-iaa-matrix-client/dist/vue-iaa-matrix-client.min.js"></script>
<!-- Components are registered globally -->

After that, you can use it in your templates:

<hello-world></hello-world>

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago