Configuration
Using global installation
import { createApp } from 'vue'
import VueTippy from 'vue-tippy'
const app = createApp({})
app.use(VueTippy, {
defaultProps: { placement: 'right' },
})
app.mount('#app')
Using global function
import { setDefaultProps } from 'vue-tippy'
setDefaultProps({
placement: 'right',
})
Edit this page on GitHub
Updated at Tue, Oct 15, 2024