A Nativescript Vue component for Floating Action Button
A Vue component that shows Material Design Fab button
``js`
npm i --save vue-clock-simple
`typescript`
import ButtonPlugin from '@nativescript-community/ui-material-button/vue';
import CardViewPlugin from 'nativescript-material-cardview/vue';
import FabPlugin from 'nativescript-vue-fab';
Vue.use(ButtonPlugin);
Vue.use(CardViewPlugin);
Vue.use(FabPlugin);
You also need to import the css style from your app style file. The reason is that this way you can easily override any css class.
`css`
@import '../node_modules/nativescript-vue-fab/style';
Once installed, it can be used in a template as simply as:
`html``