0.6.6 • Published 2 years ago
@maibornwolff/mwui-vue v0.6.6
The Liberation Machine
MWUI - Vue Integration
Get started
Import the library plugin in the main.js
file:
npm i @maibornwolff/mwui-stencil
npm i @maibornwolff/mwui-vue
import { MwuiComponents } from '@maibornwolff/mwui-vue';
import '@maibornwolff/mwui-stencil/dist/mwui-stencil/mwui-stencil.css';
createApp(App).use(MwuiComponents).mount('#app');
You can then use your components within vue:
<template>
<mw-button test-id="test-id" label="Press here" />
</template>
<script>
import { MwButton } from '@maibornwolff/mwui-vue';
export default {
name: 'HelloWorld',
components: {
MwButton
}
}
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.6.6
2 years ago
0.6.3
2 years ago
0.6.2
2 years ago
0.6.5
2 years ago
0.6.4
2 years ago
0.6.1
2 years ago
0.6.0
2 years ago
0.5.0
2 years ago
0.4.0
2 years ago
0.3.1
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.2.0
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago