0.0.17 • Published 1 year ago

tlm-vue v0.0.17

Weekly downloads
-
License
-
Repository
github
Last release
1 year 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

2 years ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.13

2 years ago

0.0.11

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago