0.6.6 • Published 7 months 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
7 months ago
0.6.3
8 months ago
0.6.2
8 months ago
0.6.5
8 months ago
0.6.4
8 months ago
0.6.1
10 months ago
0.6.0
10 months ago
0.5.0
11 months ago
0.4.0
11 months ago
0.3.1
12 months ago
0.5.2
11 months ago
0.5.1
11 months ago
0.2.0
1 year ago
0.1.13
1 year ago
0.1.12
1 year ago
0.1.11
1 year ago
0.1.10
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago