0.0.17 • Published 3 years ago

tlm-vue v0.0.17

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

npm

The Liberation Machine - Vue

Publish package

  1. Build your core stencil package.
  2. Run build on this package.
  3. Publish.

Use in Vue

Import the library plugin in the main.js file:

import { TlmComponents } from 'tlm-vue';

createApp(App).use(TlmComponents).mount('#app');

You can then use your components within vue:

<template>
  <tlm-button test-id="test-id" disabled="false">Press here</tlm-button>
</template>

<script>
import { TlmButton } from 'tlm-vue';

export default {
  name: 'HelloWorld',
  components: {
    TlmButton
  }
}

Known Issues

Vue will throw a deprecation error if slots are used. This is due to eslint misidentifying the slots as outdated Vue 2 syntax.

To disable the error, add the following under eslintConfig within the package.json:

"rules": {
    "vue/no-deprecated-slot-attribute": "off"
}
0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago