This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

tlm-vue
TypeScript icon, indicating that this package has built-in type declarations

0.0.17 • Public • Published

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"
}

Readme

Keywords

none

Package Sidebar

Install

npm i tlm-vue

Weekly Downloads

1

Version

0.0.17

License

none

Unpacked Size

14.8 kB

Total Files

15

Last publish

Collaborators

  • fuasmattn
  • m-m-mic