vuetify
Version:
Vue Material Component Framework
20 lines (15 loc) • 376 B
text/typescript
import * as components from './components'
import * as directives from './directives'
import Vuetify from './framework'
export default Vuetify
const install = Vuetify.install
Vuetify.install = (Vue, args) => {
install.call(Vuetify, Vue, {
components,
directives,
...args,
})
}
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(Vuetify)
}