Negatively Proportional Model
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

vue2-siema

0.2.0 • Public • Published

vue2-siema

npm vue2

A wrapper for the siema javascript library

vue2-siema Logo

Installation

npm install --save vue2-siema

or

yarn add vue2-siema

import with bundler

import Vue from 'vue'
import Siema from 'vue2-siema'
 
Vue.use(Siema)
 

Nuxt

In nuxt.config.js

plugins: [
  {
    src: '~/plugins/vue2-siema.js',
    ssr: false
  }
]

In plugins/vue2-siema.js

import Vue from 'vue'
import Siema from 'vue2-siema'
 
Vue.use(Siema)

Wrap in no-ssr

<no-ssr>
  <siema class...></siem>
</no-ssr>

Plain vue

  <script type="text/javascript" src="//unpkg.com/vue"></script> 
  <script src='siema.min.js'></script> 
  <script src='vue2-siema.min.js'></script> 
 <script type="text/javascript">
     Vue.use(Siema)
     new Vue({...})
 </script> 
 

Usage

See this demo.


License

MIT

install

npm i vue2-siema

Downloadsweekly downloads

21

version

0.2.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar